Hi,
Since my 1st thread, I could find how to have access to my web-app's index.htm.
But, this page point to jsp pages through Spring controler.
My problem is :
----------------
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:115)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:252)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1053)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:818)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:727)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:115)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:252)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1053)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:818)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:727)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
-------------
But, I've:
servlet.jar and tools.jar in tomcat/common/lib
ant.jar in $JAVA_HOME/jre/lib/ext
my CLASSPTH is empty
my PATH = /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/ant/bin:/usr/local/mysql/bin:/usr/local/java/bin:/usr/local/firefox:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
I'm using tomcat 4, Spring, mysql 5, jdk 5.
I've been stuck with these configuration error since last week, and google bring me the same 'already-tried' information.
Please, help me.
Thanks.
Since my 1st thread, I could find how to have access to my web-app's index.htm.
But, this page point to jsp pages through Spring controler.
My problem is :
----------------
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:115)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:252)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1053)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:818)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:727)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:115)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:252)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1053)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:818)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:727)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
-------------
But, I've:
servlet.jar and tools.jar in tomcat/common/lib
ant.jar in $JAVA_HOME/jre/lib/ext
my CLASSPTH is empty
my PATH = /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/ant/bin:/usr/local/mysql/bin:/usr/local/java/bin:/usr/local/firefox:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
I'm using tomcat 4, Spring, mysql 5, jdk 5.
I've been stuck with these configuration error since last week, and google bring me the same 'already-tried' information.
Please, help me.
Thanks.