Hello everybody, I'm new to JSF and MyFaces, but I want to use it in a new project. So I tried to have a look at the simple example presented in the Getting Started section on the myfaces website.
I set up a new Tomcat 5.5.20-10.1 on a opensuse 10.2 system. Then I downloaded the tomahawk-examples-1.1.6-bin.tar.gz [1] and moved myfaces-example-simple-1.1.6.war to the empty webapps directory. I started tomcat and opened http://127.0.0.1:8080/myfaces-example-simple-1.1.6/ in a browser. Unfortunately there appears an error message containing the line: java.io.FileNotFoundException: /usr/share/tomcat55/work/Catalina/localhost/myfaces-example-simple-1.1.6/org/apache/jsp/index_jsp.java (No such file or directory) Maybe that is not the interesting line, so I pasted the complete error message below [2]. Are there any jars missing? It seems, that the generation of the JSPs does not work, but why? Any hints? Thank you very much! Best regards Hannes [1]: http://www.apache.org/dyn/closer.cgi/myfaces/binaries/tomahawk-examples-1.1.6-bin.tar.gz [2]: 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.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:572) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.io.FileNotFoundException: /usr/share/tomcat55/work/Catalina/localhost/myfaces-example-simple-1.1.6/org/apache/jsp/index_jsp.java (No such file or directory) java.io.FileOutputStream.open(Native Method) java.io.FileOutputStream.<init>(FileOutputStream.java:179) java.io.FileOutputStream.<init>(FileOutputStream.java:70) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:141) org.apache.jasper.compiler.Compiler.compile(Compiler.java:295) org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) org.apache.jasper.compiler.Compiler.compile(Compiler.java:264) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

