Ciao a tutti.. Per la mia tesina sto creando un sito dinamico per la formulazione dei budget..
Il mio sistema operativo è Windows 7 home premium e come linguaggio uso JSP.
Ho già installato Apache Tomcat e MySQL 5.0 più il driver MySQL Connector/ODBC 3.51
Il problema è che quando vado a caricare una pagina jsp mi visualizza questa papparda qua:
HTHTTP Status 500 -
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
org.apache.jasper.compiler.DefaultErrorHandler.jav acError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacEr ror(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass( Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:472)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:451)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:439)
org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.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.CompilerAd apterFactory.getCompiler(CompilerAdapterFactory.ja va: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(Compil er.java:472)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:451)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:439)
org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
Apache Tomcat/5.0.2815 12 asc
Oggi ho provato a chiedere alla mia prof di informatica è mi ha detto che forse il problema è che la jdk che ho instalato non è compatibile con il mio sistema operativo.. Quella che ho iinserito io tra le variabili d'ambiente è questa: C:\j2sdk1.4.2_12
Se questa è sbagliata cosa devo fare????
Help me!!!!

Rispondi quotando
