[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JasperException: Need classpath for JSP compile

bbredohl do-not-reply at jboss.com
Fri Jun 20 04:57:20 EDT 2008


I have some problems to migrate a war project from BEA to JBoss 4.2.2.
In this project are a lot of .jsp files, which use a lot of java classes without imports!

FileReader fReader = new FileReader(new File(file));

When I try to deploy the Pproject, I get a lot of "... cannot be resolved to a type" errors.
In this case:
anonymous wrote : FileReader cannot be resolved to a type

If I add

to the jsp, everything is ok!

How can I change this in the global configuration?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159492#4159492

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159492

More information about the jboss-user mailing list