Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> oracle jserv jsp problem
Dear Gurus ,
I am using oracle 9i and trying to run jsp examples.
This is my os:
Linux tanidw1 2.4.18-e.37smp #1 SMP Tue Aug 5 16:07:26 EDT 2003 ia64
unknown
When i try , i get the following error message:
Request URI:/demo/basic/hellouser/hellouser.jsp
Exception:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java) at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java) at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java) at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java) at oracle.jsp.JspServlet.doDispatch(JspServlet.java) at oracle.jsp.JspServlet.internalService(JspServlet.java) at oracle.jsp.JspServlet.service(JspServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:536)
My configuration file (jserv.properties ) has the following entry:
wrapper.classpath=/home/oracle/9.2.0/jdk/lib/tools.jar
But there is no tools.jar !!
I have found the file in my server , copied it into the directory ,
this time the error messsage changed:
[08/10/2003 14:11:47:616 EEST] JspServlet: unable to dispatch to
requested page: oracle.jsp.provider.JspCompileException: <H3>Errors
compiling:/home/oracle/9.2.0/Apache/Apache/htdocs/_pages/_demo/_basic/_hellouser/_hellouser.java</H3><pre>error:
Invalid class file format in
/home/oracle/9.2.0/jdk/lib/rt.jar(java/lang/Object.class). The
major.minor version '48.0' is too recent for this tool to understand.
My java version is 1.4.1 .
What can be the problem?
Kind Regards,
hope
Received on Wed Oct 08 2003 - 06:43:03 CDT