Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Urgent-Weblogic Servlet Query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Urgent-Weblogic Servlet Query" Watch "Urgent-Weblogic Servlet Query" New topic
Author

Urgent-Weblogic Servlet Query

shashi kale
Greenhorn

Joined: Sep 26, 2001
Posts: 7
hi,
there is a file say ABC.class(general class not a servlet file ie not extends HTTPServlet and it is common to other servlets).
Lets say directory strut.:
STP<main dir>
ABC.class<class-file>
TEST<it is in STP>
TEST1<it is in TEST>
stpControllerSerevlet.class<This is servlet class file which require the method of ABC.class>.
how do we resolved in weblogic :it geves me errror taht
/**********************************/
Wed Jan 17 20:50:23 GMT+05:30 2001:<E> <ServletContext-General> Servlet failed with Exception
java.lang.NoClassDefFoundError: STP/TEST/ABC
at STP.TEST.stpControllerSerevlet.doPost(stpControllerSerevlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951
    
  19

Your source for the class wouldn't happen to start off with a
package TEST.STP;
statement would it? Don't forget BTW that EVEN UNDER WINDOWS upper/lower case MUST match EXACTLY in class file names. The OS doesn't care, but the Java runtime does.
[This message has been edited by Tim Holloway (edited October 18, 2001).]


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Urgent-Weblogic Servlet Query
 
Similar Threads
jsps & ejbs on weblogic 5.1 when used it is throwing ....
Weblogic 5.1 war deployment
Facing the problem when loading the servlet but not when compiling.
Could not initialize POSIX Performance Pack
weblogic ACL problem