[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: Error loading jsp servlet class


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.