DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39093>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39093 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | Version|5.5.16 |5.5.17 ------- Additional Comments From [EMAIL PROTECTED] 2006-05-31 13:08 ------- I've finally been able to narrow down this problem. It appears that it occurs ONLY when the classes are in the Java classpath, and NOT (as in most cases) in the WEB-INF/classes directory. I'll attach a new ZIP in a minute. Meanwhile, I've also migrated to Tomcat 5.5.17, but the problem remains. Just unpack the zip (mytest2.zip) into your tomcat/webapps directory. The index.jsp will now compile fine, just to prove it actually works :-) Now, here we go: - Stop Tomcat - Rename the mytest/WEB-INF/classes dir to mytest/WEB-INF/klasses . This will prevent Tomcat from picking it up. - Now add the mytest/WEB-INF/klasses dir to the Java classpath. My new classpath then is: C:\Program Files\Tomcat5.5\bin\bootstrap.jar;C:\Program Files\Tomcat5.5 \webapps\mytest\WEB-INF\klasses - Restart Tomcat - Make sure you "touch" index.jsp to force re-compilation. - Visit index.jsp et voila... there you have it: > gui.editor cannot be resolved to a type When I then (keep Tomcat running) delete the WEB-INF/klasses/gui/Editor.class file, and re-visit the index.jsp, it suddenly compiles! Go figure :-) My environment: Windows XP Pro SP2 + all patches Java 1.5.0_04 Tomcat 5.5.16 + 5.5.17 Hope this helps to finally locate this bug. Would help me a lot. I've already got many applications out in the field using these classes, so renaming them is not really an option :-( Thanx! Paul Hamer -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]