You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by vinicius <vi...@fcdl-rs.com.br> on 2006/01/31 20:13:15 UTC

problem struts+tiles+eclipse+tomcat5+j2sdk-sun

I change the MessageResources.properties, update the servlet context, export 
the files to the webapp directory in tomcat and when view the page i've got 
this error:
(i don't know if this are the correct steps! i'm using linux and the sysdeo 
plugin don't start the tomcat for me like many tutorials explain)


org.apache.jasper.JasperException: Unable to compile class for JSP
	
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:520)
	
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)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:324)
	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
	java.security.AccessController.doPrivileged(Native Method)
	javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
	org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
	
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)

root cause

java.io.FileNotFoundException: /home/vinicius/Projetos/novo 
Portal/workspace/teste/work/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:188)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
	
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)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:324)
	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
	java.security.AccessController.doPrivileged(Native Method)
	javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
	org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
	
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org