Tomcat 5.5 Upgrade Problems

2006-04-06 Thread prophecy
I've been getting this error after upgrading from Tomcat 5.0 to Tomcat 5.5: Generated servlet error: Only a type can be imported. com.x.MyClass resolves to a package An error occurred at line: 16 in the jsp file: /index.jsp Generated servlet error: MyClass cannot be resolved to a type And the

Re: jdk1.5, tomcat 5.5.9 and jsp compilation

2006-04-06 Thread prophecy
I'm pretty sure you can't use 1.5 features in the jsp page itself because it's not using the javac compiler. You can use 1.5 features in your java class files though. -- View this message in context: http://www.nabble.com/jdk1.5%2C-tomcat-5.5.9-and-jsp-compilation-t1392691.html#a3779909 Sent fr

Only a type can be imported. x.y.MyClass resolves to a package

2006-03-21 Thread prophecy
Generated servlet error: Only a type can be imported. x.y.MyClass resolves to a package This happens for every class used in the jsp page. It is a very strange occurence and appears to have happened after upgrading to Tomcat 5.5.16 and JDK 1.5.0_06 . Has anyone else come across these issues lat