Luke,
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.
Hth,
Maarten
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; java.util.zip.ZipException: error in opening zip file
> 1 error
>
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
> org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:246)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> 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