I had this situation where a java class packaged in a .jar file is not recognised when I placed it in the war files' WEB-INF/lib directory.
but it is working fine if I add that jar file as an extracted dir in the war file. I really didn't understand why is this happening...
Ok here is the scenario I had...
core.ear |_ core.war |_ WEB-INF |_ lib |_ some.jar ( which is a package com.abc.chart.JFCChart.class and some other java classes. )
core.ear |_ core.war |_ WEB-INF | |_ lib | |_ some.jar ( which is a package com.abc.chart.JFCChart.class | and some other java classes. ) |_ com |_abc |_chart |_ JFCChart.class
I got the same problem
Please.. anybody, help us..