java.lang.NoClassDefFoundError from websphere -
i have problem can't figure out.
context :
was 7.0.0.19 version (with no precompilejsp) caused by: java.lang.noclassdeffounderror: org/apache/jsp/_xxx (wrong name: com/ibm/_jsp/_xxx) @ java.lang.classloader.defineclassimpl(native method) @ java.lang.classloader.defineclass(classloader.java:275) @ java.lang.classloader.defineclass(classloader.java:212) @ com.ibm.ws.jsp.webcontainerext.jspextensionclassloader.defclass(jspextensionclassloader.java:181) @ com.ibm.ws.jsp.webcontainerext.jspextensionclassloader._loadclass(jspextensionclassloader.java:133)
it's jsp give problem, , on specific environment (no problem on others environments same configuration) xxx.class present in profile/tmp directory others jsp in same directory (that give no problem) , filesystem not full.
tests
i did copy of xxx.jsp xxxnew.jsp in same directory can access xxxnew.jsp without problem (so there no coding problem) did mv xxx.jsp xxx1.jsp , had no problem access jsp new named deleted xxx.class in tmp directory did mv first name (xxx.jsp) , still error newly xxx.class in tmp directory. there class cache anywhere in websphere explain ? (no cachespec.xml dynacache found in war module).
why websphere try find class org.apache.jsp package , not com.ibm._jsp ? (how choose mapping url classes ?)
thxs !
make sure not including in webapp classpath jsp engine or other implementation of standard jsp libraries might incompatible websphere's runtime. also, once delete potentially incompatible jars, try deleting generated classes jsp compilation (which under {was_home}/appserver/profiles/{your_profile}/temp), recompilation triggered , discard stale .class generated previous classpath state.
it helpful if posted list of jars in app's classpath.
Comments
Post a Comment