|
Problem(Abstract) |
Client has packaged everything needed by his application
in the application ear file. The manifest file for the ejb and the war
modules are modified correctly to point to common jars packaged at the
root of the ear.
The following exception is seen in the systemout.log file:
4/13/06 15:51:44:337 EDT¨ 0000000a ServletWrappe E SRVE0100E:
Did not realize init() exception thrown by servlet PreLoader:
java.lang.NoClassDefFoundError:
us/myState/state/agb/tiers/business/entities
/security/SeReportAssignmentsCargo
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1784)
at java.lang.Class.getMethod1(Class.java:2033)
at java.lang.Class.getMethod(Class.java:1076)
at us.tx.state.dhs.framework.factories.FwServiceFactory.
installService(Unknown Source) |
|
|
|
Cause |
The root cause of the problem is that client has specified
some of the same jars in the java classpath. In the above stack trace
class SeReportAssignmentsCargo was packaged and found in application and
server classpaths |
|
|
Resolving the
problem |
Remove the above class from the server classpath |
|
|