File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Urgent-Weblogic Servlet Query" Watch "Urgent-Weblogic Servlet Query" New topic

Urgent-Weblogic Servlet Query

shashi kale

Joined: Sep 26, 2001
Posts: 7
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(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(
at weblogic.servlet.internal.ServletContextManager.invokeServlet(
at weblogic.socket.MuxableSocketHTTP.invokeServlet(
at weblogic.socket.MuxableSocketHTTP.execute(
at, Compiled Code)
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

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).]

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Urgent-Weblogic Servlet Query
It's not a secret anymore!