aspose file tools*
The moose likes Struts and the fly likes java.lang.NoClassDefFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "java.lang.NoClassDefFoundError" Watch "java.lang.NoClassDefFoundError" New topic
Author

java.lang.NoClassDefFoundError

Jagdish Hatagale
Ranch Hand

Joined: Apr 07, 2010
Posts: 33
can any boday please help me out. i have one application which is develop in jdeveloper 10.1.3.3 , with sturst , when i build the application and deploye in jboss 4.0.1 the first index page is run properly but when i put correct user name and password

i get the following error

java.lang.NoClassDefFoundError
oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycleFactory.getDefaultInstance(StrutsPageLifecycleFactory.java:68)
oracle.adf.controller.v2.struts.lifecycle.StrutsPageLifecycleFactory.getInstance(StrutsPageLifecycleFactory.java:58)
oracle.adf.controller.v2.struts.actions.DataActionMapping.freeze(DataActionMapping.java:73)
org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:534)

i think this is becouse of in adf-controller is having the StrutsPageLifecycleFactory and jboss is having the same file with jdk1.4 version so that version is conflicting.
i try to remove adf-controller file from my WEB-INF-->Lib folder but it wont work

please kindly give attention

thank you so much...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.lang.NoClassDefFoundError