This content has been marked as final. Show 2 replies
It seems you have nested jar files.
That is not possible. Any dependencies either go in:
- a /lib directory of your EAR (visible to the entire application including WARs and EJBs)
- the WEB-INF/lib directory of a WAR (visible only to that web module)
As far as I know jars put in a /lib directory of the EAR are automatically on the EAR classpath; at least this is true on JBoss. If not you need to add references to the libraries in the application.xml file.
Yes it was nested jars problem.
I put the dependent nested jars into EAR's lib directory, and problem solved.
I'm using Resin 3.1.9 application server, but the problem solved like you said for JBoss.