Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run time error

Status
Not open for further replies.

ching0418

MIS
Mar 6, 2002
96
HK
hello,

i jusnt to ask help from you guys. what do the follwing error messages mean?

java.lang.AbstractMethodError
at javax.servlet.GenericServlet.getServletName(GenericServlet.java:368)
at javax.servlet.GenericServlet.log(GenericServlet.java:300)
at javax.servlet.GenericServlet.init(GenericServlet.java:257)
at sun.servlet.ServletLoader.loadServlet(ServletLoader.java:102)
at sun.servlet.http.HttpServer.getServlet(HttpServer.java:326)
at sun.servlet.http.HttpServerHandler.sendResponse(HttpServerHandler.java:152)
at sun.servlet.http.HttpServerHandler.handleConnection(HttpServerHandler.java:121)
at sun.servlet.http.HttpServerHandler.run(HttpServerHandler.java:90)
at java.lang.Thread.run(Thread.java:484)


TIA,
ching
 
Hi ching0418,

Here's what the Javadoc says about AbstractMethodError:

"Thrown when an application tries to call an abstract method. Normally, this error is caught by the compiler; this error can only occur at run time if the definition of some class has incompatibly changed since the currently executing method was last compiled."

It sounds as though there is something very different between what you are compiling with and what you are running with; perhaps there are different versions of jar files.

Take a close look at what you have in your classpath at compile and at run time. Even the order of classpath entries can have an adverse affect if there are class duplications.

Also try deleteing all your project .class files and doing a full rebuild in case there is something compiled that is no longer valid.

Hope this helps some.
scrat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top