[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
Re: Error loading jsp servlet class
Yep, I thought it might have something to do with JDK1.2. I figured I'd
check with this list before I reconfigured my system, though.
I switched back to Java 1.1.3 this morning and GnuJSP started working.
Very strange.
At 08:37 AM 1/29/99 +0100, Vincent Partington wrote:
>Hi Marc,
>
>"Marc A. Saegesser" wrote:
>> I've tracked the problem down to JSPServlet.loadServlet(). After loading
>> the servlet class a call is made to getField("__compilerVersionNr") and
>> then getInt(null) to extract the value. The value returned is always 0
>> even though the generated .java file contains the correct value (4). This
>> causes the test against the JSPCompiler.COMPILER_VERSION_NR to fail and
>> thus prints the "Could not load jsp servlet class ..." error.
>
>That is strange. I have no idea what could be causing this. Maybe
>something to do with the new security mechanism of JDK1.2? But then you
>would expect exceptions to be thrown. Hmm..
>
>Vincent.
>
Marc Saegesser
--
The world has arrived at an age of cheap complex devices of great
reliability; and something is bound to come of it.
Vannevar Bush, 1945