struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Monajit Choudhury <Monaj...@PLANETASIA.COM>
Subject Class not found exception.............
Date Wed, 24 Sep 2003 10:59:01 GMT
Hi
 I am trying to use struts along with weblogic8.0.
While trying to access a page I get this following exception.
 
java.lang.NoClassDefFoundError: org/apache/struts/action/Action

	at java.lang.ClassLoader.defineClass0(Native Method)

	at java.lang.ClassLoader.defineClass(ClassLoader.java:502)

	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

	at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)

	at java.net.URLClassLoader.access$100(URLClassLoader.java:54)

	at java.net.URLClassLoader$1.run(URLClassLoader.java:193)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.net.URLClassLoader.findClass(URLClassLoader.java:186)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)

	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:292)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:292)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:292)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:292)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)

	at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoa
der.java:223)

	at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAware
ClassLoader.java:41)

	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)

	at java.lang.ClassLoader.defineClass0(Native Method)

	at java.lang.ClassLoader.defineClass(ClassLoader.java:502)

	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

	at
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericCla
ssLoader.java:476)

	at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoa
der.java:181)

	at
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAware
ClassLoader.java:62)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)

	at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoa
der.java:223)

	at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAware
ClassLoader.java:41)

	at
org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:2
07)

	at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.jav
a:231)

	at
org.apache.struts.action.RequestProcessor.processActionCreate(RequestPro
cessor.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
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:1053)

	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:387)

	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:305)

	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:6310)

	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:317)

	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
)

	at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3622)

	at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2569)

	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


I <mailto:monajitcj@planetasia.com>  have put struts.jar in the ear
file.
Any idea what might be causing this error
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message