struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 林志鵬 Vincent Lin <vincent_...@truetel.com.tw>
Subject ClassNotFoundException in Weblogic 6.1
Date Thu, 21 Feb 2002 09:24:14 GMT
Hi,

I create a war file with com.test.TestForm and com.test.TestAction. and deploy it to weblogic
6.1. When I access the action (/test.do). It throws an ClassNotFoundException. I've checked
the war file. I do put these two file in the war file. I don't know why. Has anyone has the
same experience? Does anyone know how to solve it?

Regards,
Vincent Lin

Stack Trace:

<Feb 21, 2002 5:09:22 PM CST> <Error> <HTTP> <[WebAppServletContext(4504143,pimttpim,/pimttpim)]
action: Error creating ActionForm instance of class 'com.truetel.svc.pim.ui.TestForm'
java.lang.ClassNotFoundException: com.test.TestForm
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at org.apache.struts.action.ActionServlet.processActionForm(ActionServlet.java:1700)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1562)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Feb 21, 2002 5:09:22 PM CST> <Error> <HTTP> <[WebAppServletContext(4504143,pimttpim,/pimttpim)]
action: Error creating Action instance for path '/test', class name 'com.truetel.svc.pim.ui.TestAction'
java.lang.ClassNotFoundException: com.test.TestAction
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at org.apache.struts.action.ActionServlet.processActionCreate(ActionServlet.java:1630)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1576)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
Mime
View raw message