Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Action class not located

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My struts.jar is only located in WebContent\WEB-INF\lib\?Any clues?

---Original exception---
java.lang.NoClassDefFoundError: org.apache.struts.action.Action
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:446)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:300)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java:83)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:446)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:300)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:207)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:326)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:268)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

--- end Original exception----

could not be located while defining the class: com.basel.controller.FindSecurityAction
This is often caused by having the class at a higher point in the classloader hierarchy
Dumping the current context classloader hierarchy:
==> indicates defining classloader
*** indicates classloader where the missing class could have been found
==>[0]
com.ibm.ws.classloader.CompoundClassLoader@55fbfd62
Local ClassPath: C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\classes;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-beanutils.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-collections.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-digester.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-fileupload.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-lang.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent \WEB-INF\lib\commons-logging.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-validator.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\jakarta-oro.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\struts.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent;
Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.JarClassLoader@1440857442 Local Classpath: C:\Basel\WorkSpace\BaselAppEJB\ejbModule;C:\Basel\WorkSpace\BaselApp\Framework1.2.jar;C:\Basel\WorkSpace\BaselApp\com.ibm.mq.jar;C:\Basel\WorkSpace\BaselApp\com.ibm.mqjms.jar;C:\Basel\WorkSpace\BaselApp\commons-beanutils.jar;C:\Basel\WorkSpace\BaselApp\commons-collections.jar;C:\Basel\WorkSpace\BaselApp\commons-digester.jar;C:\Basel\WorkSpace\BaselApp\commons-fileupload.jar;C:\Basel\WorkSpace\BaselApp\commons-lang.jar;C:\Basel\WorkSpace\BaselApp\commons-loggin g.jar;C:\Basel\WorkSpace\BaselApp\commons-pool.jar;C:\Basel\WorkSpace\BaselApp\commons-validator.jar;C:\Basel\WorkSpace\BaselApp\crimson.jar;C:\Basel\WorkSpace\BaselApp\jaxp.jar;C:\Basel\WorkSpace\BaselApp\j2ee.jar;C:\Basel\WorkSpace\BaselApp\jakarta-oro.jar;C:\Basel\WorkSpace\BaselApp\jaxen-core.jar;C:\Basel\WorkSpace\BaselApp\jaxen-dom.jar;C:\Basel\WorkSpace\BaselApp\jdbc2_0-stdext.jar;C:\Basel\WorkSpace\BaselApp\jmxri.jar;C:\Basel\WorkSpace\BaselApp \junit.jar;C:\Basel\WorkSpace\BaselApp\ldap.jar;C:\Basel\WorkSpace\BaselApp\log4j-1.2.8.jar;C:\Basel\WorkSpace\BaselApp\saxpath.jar;C:\Basel\WorkSpace\BaselApp\xalan.jar;C:\Basel\WorkSpace\BaselApp\xercesImpl-2.0.1.jar;C:\Basel\WorkSpace\BaselApp\xml.jar;C:\Basel\WorkSpace\BaselAppCommon\classes Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ExtJarClassLoader@967998817 Local ClassPath: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51\lib\app; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ProtectionClassLoader@3582fd60
[4] com.ibm.ws.bootstrap.ExtClassLoader@3ef37d60
[5] sun.misc.Launcher$AppClassLoader@3eee3d60
[6] sun.misc.Launcher$ExtClassLoader@3ee23d60
---Original exception---
java.lang.NoClassDefFoundError: Error while defining class: com.framework.struts.baselAction
This error indicates that the class: org.apache.struts.action.Action
could not be located while defining the class: com.framework.struts.baselAction
This is often caused by having the class at a higher point in the classloader hierarchy
Dumping the current context classloader hierarchy:
==> indicates defining classloader
*** indicates classloader where the missing class could have been found
***[0]
com.ibm.ws.classloader.CompoundClassLoader@55fbfd62
Local ClassPath: C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\classes;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-beanutils.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-collections.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-digester.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-fileupload.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-lang.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent \WEB-INF\lib\commons-logging.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\commons-validator.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\jakarta-oro.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent\WEB-INF\lib\struts.jar;C:\Basel\WorkSpace\BaselAppWeb\WebContent;
Delegation Mode: PARENT_FIRST
==>[1] com.ibm.ws.classloader.JarClassLoader@1440857442 Local Classpath: C:\Basel\WorkSpace\BaselAppEJB\ejbModule;C:\Basel\WorkSpace\BaselApp\Framework1.2.jar;C:\Basel\WorkSpace\BaselApp\com.ibm.mq.jar;C:\Basel\WorkSpace\BaselApp\com.ibm.mqjms.jar;C:\Basel\WorkSpace\BaselApp\commons-beanutils.jar;C:\Basel\WorkSpace\BaselApp\commons-collections.jar;C:\Basel\WorkSpace\BaselApp\commons-digester.jar;C:\Basel\WorkSpace\BaselApp\commons-fileupload.jar;C:\Basel\WorkSpace\BaselApp\commons-lang.jar;C:\Basel\WorkSpace\BaselApp\commons-loggin g.jar;C:\Basel\WorkSpace\BaselApp\commons-pool.jar;C:\Basel\WorkSpace\BaselApp\commons-validator.jar;C:\Basel\WorkSpace\BaselApp\crimson.jar;C:\Basel\WorkSpace\BaselApp\jaxp.jar;C:\Basel\WorkSpace\BaselApp\j2ee.jar;C:\Basel\WorkSpace\BaselApp\jakarta-oro.jar;C:\Basel\WorkSpace\BaselApp\jaxen-core.jar;C:\Basel\WorkSpace\BaselApp\jaxen-dom.jar;C:\Basel\WorkSpace\BaselApp\jdbc2_0-stdext.jar;C:\Basel\WorkSpace\BaselApp\jmxri.jar;C:\Basel\WorkSpace\BaselApp \junit.jar;C:\Basel\WorkSpace\BaselApp\ldap.jar;C:\Basel\WorkSpace\BaselApp\log4j-1.2.8.jar;C:\Basel\WorkSpace\BaselApp\saxpath.jar;C:\Basel\WorkSpace\BaselApp\xalan.jar;C:\Basel\WorkSpace\BaselApp\xercesImpl-2.0.1.jar;C:\Basel\WorkSpace\BaselApp\xml.jar;C:\Basel\WorkSpace\BaselAppCommon\classes Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ExtJarClassLoader@967998817 Local ClassPath: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51\lib\app; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ProtectionClassLoader@3582fd60
[4] com.ibm.ws.bootstrap.ExtClassLoader@3ef37d60
[5] sun.misc.Launcher$AppClassLoader@3eee3d60
[6] sun.misc.Launcher$ExtClassLoader@3ee23d60
---Original exception---
java.lang.NoClassDefFoundError: org/apache/struts/action/Action
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:446)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:300)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java:83)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:446)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:300)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:207)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:326)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:268)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

--- end Original exception----

at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:473)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:300)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java:83)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:446)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:300)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:207)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:326)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:268)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

--- end Original exception----
 
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic