Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Tomcat: Compiling JSPs with JDK 1.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tomcat: Compiling JSPs with JDK 1.5


Actually, it looks like the Jasper jsp-compiler is assuming that
everything in the extension path must be a jar/zip file.
It would be interesting to test if the same problem shows up on
another operating system if you put something other than a jar in the
extension path.

My suggestion would be a bug report to Tomcat/Jasper.

A possible workaround for you now could be to remove the native lib
from the extension path, which shouldn't matter as long as you don't
use Java 3D.



On 6/1/05, Luke deGruchy <email@hidden> wrote:
>  I tried various combinations of ant.jar, jasper-compiler-jdt.jar and
> classes.jar.  If I replace jasper-compiler-jdt.jar with ant.jar, I no longer
> get compile errors for JDK 1.5 features.  This is what I get instead:
>  org.apache.jasper.JasperException: Unable to compile class for JSP
>  Generated servlet error:
>  error: error reading /System/Library/Java/Extensions/libJ3D.jnilib; error in opening zip file
>  1 error
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(
> org.apache.jasper.compiler.ErrorDispatcher.javacError(
> org.apache.jasper.compiler.AntCompiler.generateClass(
> org.apache.jasper.compiler.Compiler.compile(
> org.apache.jasper.compiler.Compiler.compile(
> org.apache.jasper.compiler.Compiler.compile(
> org.apache.jasper.JspCompilationContext.compile(
> org.apache.jasper.servlet.JspServletWrapper.service(
> org.apache.jasper.servlet.JspServlet.serviceJspFile(
> org.apache.jasper.servlet.JspServlet.service(
> javax.servlet.http.HttpServlet.service(
>  This is definitely OS X-specific.   It doesn't matter whether or not I
> include classes.jar.
>  Any ideas?
>  Thanks,
>  Luke
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 >Re: Tomcat: Compiling JSPs with JDK 1.5 (From: Luke deGruchy <email@hidden>)

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.