0

i have installed tomcat and deployed axis folder in the tomcat->webapps and my .jsp and .jws files in the axis folder of webapps, while my .jws files are executing successfully and showing the wsdl code, my .jsp files are showing the error page as follows:
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Only a type can be imported. com.sun.xml.rpc.spi.tools.SOAPConstants resolves to a package

Generated servlet error:
Only a type can be imported. com.sun.xml.messaging.saaj.util.ByteInputStream resolves to a package

Generated servlet error:
Only a type can be imported. com.sun.xml.rpc.client.dii.BasicCall resolves to a package

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Only a type can be imported. com.sun.xml.rpc.spi.tools.SOAPConstants resolves to a package

Generated servlet error:
Only a type can be imported. com.sun.xml.messaging.saaj.util.ByteInputStream resolves to a package

Generated servlet error:
Only a type can be imported. com.sun.xml.rpc.client.dii.BasicCall resolves to a package

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
Apache Tomcat/5.5.20

what can i do to resolve this and get my output?
note: i tried executing a simple jsp hello world program while it executed sucessfully

3
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by jalpesh_007
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.