problem with the server pages [message #197682] |
Tue, 31 July 2007 16:12 |
Eclipse User |
|
|
|
Originally posted by: zomithex1.yahoo.com
hello all,
I have made a simple hello world web service in Eclipse with Tomcat,
Running from Eclipse with the clients works fine, but when that I try to
run it on another server an access it from there I got this exception:
---------------------------------------
HTTP STATUS 500
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: Implementing class
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :272)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.IncompatibleClassChangeError: Implementing class
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
java.security.SecureClassLoader.defineClass(SecureClassLoade r.java:124)
org.apache.catalina.loader.WebappClassLoader.findClassIntern al(WebappClassLoader.java:1815)
org.apache.catalina.loader.WebappClassLoader.findClass(Webap pClassLoader.java:869)
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1322)
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1201)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoade r.java:127)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoade r.java:65)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Class.java:23 28)
java.lang.Class.getConstructor0(Class.java:2640)
java.lang.Class.newInstance0(Class.java:321)
java.lang.Class.newInstance(Class.java:303)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspSe rvletWrapper.java:148)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
------------------------------------------------------
I have transfered the web.xml file and lib and classes folder in a WEB-INF
folder and also all the JSP files(Input,Method,Result,TestClient). The
Methods and Input sections of the client display is fine. However, I
received the error in the Results section of the client.
Does any one have any idea what could be the problem?
thanks a lot
Mitra
|
|
|
|
Powered by
FUDForum. Page generated in 0.03767 seconds