R
Ronald Fischer
I've got a JSP which does not compile from within tomcat. I don't get any
error message; there is a java file, but simply no class file.
I suspect some kind of internal compiler error. I narrowed the problem down
to the following observation:
The working JSP (which compiles and works fine) differs from the non-working
one only in that it contains the statement
Map parameters;
somewhere in an inner block of a while-loop. Note that the variable is
only declared, not used.
Further: When I replace this statement by
HashMap parameters;
a class file is generated, but reveals weird behaviour.
Finally: When I move the HashMap declaration to the outermost block,
withouth changing anything else, a class file is generated and works
fine.
Did anybody already experience something similar? Is there a way to
find out more of what is happening during compilation (kind of a
"verbose" feature for the JSP compiler)?
Ronald
error message; there is a java file, but simply no class file.
I suspect some kind of internal compiler error. I narrowed the problem down
to the following observation:
The working JSP (which compiles and works fine) differs from the non-working
one only in that it contains the statement
Map parameters;
somewhere in an inner block of a while-loop. Note that the variable is
only declared, not used.
Further: When I replace this statement by
HashMap parameters;
a class file is generated, but reveals weird behaviour.
Finally: When I move the HashMap declaration to the outermost block,
withouth changing anything else, a class file is generated and works
fine.
Did anybody already experience something similar? Is there a way to
find out more of what is happening during compilation (kind of a
"verbose" feature for the JSP compiler)?
Ronald