java ee - Maven ships dependencies inside war but not in jar -


i have 2 maven projects, 1 (i call core) ejb-jar (ejb) , other war (client).

my client project consumes ejbs inside core...so far good.

but i'm getting classnotfoundexception inside core application because can't find 1 class apache-beanutils...i have set dependency compile scope in it's pom.xml not shipped inside output jar.

when check client.war package see every compile-scoped dependency inside web-inf/lib folder...but in core.jar don't see of it's dependencies...i'm totally confused this.

can me? tried google before asking didn't find useful far..thanks.

you can use maven assembly plugin bundle jars in 1 super jar.

see this: question


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -