JSP of begin to learn, problem having a place wants to be consulted!

Answers:1   |   LastUpdateAt:2012-04-14 06:01:08  

Question
Silence replace all
Asked at 2012-04-14 05:56:16
Start learning JSP , made a simple website with Dreamweaver JSP in the preview, the website shows an error: HTTP 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 Java compiler was not found to compile the source code generated for the JSP. This can be solved by copying manually $ JAVA_HOME / lib / tools.jar from the JDK in the directory common / lib Tomcat server , followed by a Tomcat restart . If using an alternate Java compiler , please check the installation and the path . Org.apache.jasper.compiler.DefaultErrorHandler.javacError ( DefaultErrorHandler.java : 128) Org.apache.jasper.compiler.ErrorDispatcher.javacError ( ErrorDispatcher.java : 351) Org.apache.jasper.compiler.Compiler.generateClass ( Compiler. java: 413) Org.apache.jasper.compiler.Compiler.compile ( Compiler.java : 453) Org.apache.jasper.compiler.Compiler.compile ( Compiler.java : 437) Org.apache.jasper.JspCompilationContext.compile ( JspCompilationContext.java : 555) Org.apache.jasper.servlet.JspServletWrapper.service ( JspServletWrapper.java : 291) Org.apache.jasper.servlet.JspServlet.serviceJspFile ( JspServlet.java : 301) Org.apache.jasper.servlet . JspServlet.service ( JspServlet.java : 248) Javax.servlet.http.HttpServlet.service ( HttpServlet.java : 856) note The full stack trace of the root cause is available in the Tomcat logs . -------------------------------------------------- ------------------------------ Apache Tomcat/5.0.12 that as help! ~! ~
Answer1LarrAnswered at 2012-04-14 06:01:08
Environmental variable was correctly installed ? ? Need to add the environment variable is JDK and JRE. Need reviews road, they still have JAVA_HOME . We did not find a Java compiler
Related Questions
1
  • Answer This Question:JSP of begin to learn, problem having a place wants to be consulted!