• Post Reply Bookmark Topic Watch Topic
  • New Topic

Urgent-Weblogic Servlet Query

shashi kale
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
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
Posts: 18417
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!