Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
Has Eclipse (outside of Tomcat) been configured to emit .class files in a certain format? I'm guessing this hasn't been done for 'ant', so maybe they need to match each other. that was one of my guesses, but apart from the compliance level i dont know of any- This happens as well under tom

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
We will now begin the grasping at straws phase: are there perhaps annotations or other esoterica in the class files that are allowed only in certain levels of the JSP spec? Can you create a relatively simple test case that exhibits the problem without exposing corporate secrets? Yes i w

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
+1. I would even leave out the word "Windows" and anything after paths-with-spaces above. There is an Ig-Nobel prize waiting to be atributed, if one can ever identify the guy who came up with that idea first. - i agree, but, compiling the classes with the path with spaces works fine in ec

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
Joseph Morgan schrieb: Fabian, This looks almost certainly like you are compiling with two different versions of the JDK. Spit out the version from the OS and compare that to the version set for Eclipse and Ant. Joe I thougth so, too. But checked this... >java -version java version "1.

jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
Hello, not sure whether here is the right place to post, but i give it a shot... I have a webapp with JSP's using some classes from WEB-INF/classes in a declaration block (<%!%>), running in tomcat 6 on jdk1.6.0_14. The problem is such, if I compile the classes in WEB-INF/classes using eclip