[opencms-dev] Installation Problem
Dharmesh Desai
dharmesh.desai at northface.edu
Wed Apr 27 18:32:21 CEST 2005
Hi,
I've been trying to install OpenCms 6.0 beta 2 on a Windows XP Pro
machine but cannot seem to get pass the following exception/error when I
click on http://localhost:8080/opencms/setup
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa
ndler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja
va:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:439)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va: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)
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.getCompil
er(CompilerAdapterFactory.java:105)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:929)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:407)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va: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)
Following are the configuration related details:
JAVA_HOME = C:\j2sdk1.4.2_05
CATALINA_HOME = C:\Program Files\Apache Software Foundation\Tomcat 5.0
PATH = C:\j2sdk1.4.2_05\bin (among other
details)
CLASSPATH = C:\j2sdk1.4.2_05\lib\tools.jar (among other details)
Running Tomcat 5.0 (only version installed)
Using Java 1.4.2 (only version installed)
And I've also tried copying "tools.jar" from %JAVA_HOME%\lib folder to
%CATALINA_HOME%\bin folder.
What am I missing???
Thanks in advance.
D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050427/7d2a2fd3/attachment.htm>
More information about the opencms-dev
mailing list