Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » IllegalAccessError while trying to compile with org.eclipse.jdt.internal.compiler.batch.Main...
IllegalAccessError while trying to compile with org.eclipse.jdt.internal.compiler.batch.Main... [message #222820] Sun, 22 January 2006 22:03 Go to next message
Eclipse UserFriend
Hi All,

My application works fine on Windows but fails on Linux.
My application contains an embedded instance of the Tomcat web server that is configured to use the batch JDT compile for
compiling JSPs.
When I try to run on Linux I get the following stack trace...


----- Root Cause -----
java.lang.IllegalAccessError: tried to access method
org.eclipse.jdt.internal.compiler.batch.FileSystem.getClassp ath(Ljava/lang/String;Ljava/lang/String;ILorg/eclipse/jdt/in ternal/compiler/env/AccessRuleSet;)Lorg/eclipse/jdt/internal /compiler/batch/FileSystem$Classpath;
from class org.eclipse.jdt.internal.compiler.batch.Main
at org.eclipse.jdt.internal.compiler.batch.Main.addNewEntry(Mai n.java:2443)
at org.eclipse.jdt.internal.compiler.batch.Main.configure(Main. java:2056)
at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.ja va:1132)
at net.sf.plugins.tomcat.internal.JDTCompilerAdapter.execute(JD TCompilerAdapter.java:61)
at org.apache.jasper.compiler.EclipseJdtTaskDefinition.compile( EclipseJdtTaskDefinition.java:39)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.j ava:337)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:38 7)
at org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:473)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:190)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)



I am totally stumped as to what is causing this.
Can anybody give me a clue as to what this error is about?
Re: IllegalAccessError while trying to compile with org.eclipse.jdt.internal.compiler.batch.Main... [message #222871 is a reply to message #222820] Mon, 23 January 2006 12:48 Go to previous message
Eclipse UserFriend
Originally posted by: olivier_thomann.NOca.ibm.comSPAM

ted stockwell a écrit :
> My application works fine on Windows but fails on Linux.
> My application contains an embedded instance of the Tomcat web server
> that is configured to use the batch JDT compile for compiling JSPs.
> When I try to run on Linux I get the following stack trace...
>
>
> ----- Root Cause -----
> java.lang.IllegalAccessError: tried to access method
> org.eclipse.jdt.internal.compiler.batch.FileSystem.getClassp ath(Ljava/lang/String;Ljava/lang/String;ILorg/eclipse/jdt/in ternal/compiler/env/AccessRuleSet;)Lorg/eclipse/jdt/internal /compiler/batch/FileSystem$Classpath;
> from class org.eclipse.jdt.internal.compiler.batch.Main
> at
> org.eclipse.jdt.internal.compiler.batch.Main.addNewEntry(Mai n.java:2443)
> at
You should open a bug report against JDT/Core with build id, steps to
reproduce and as much information as possible.
--
Olivier
Previous Topic:try source 1.5 error
Next Topic:jTDS Driver not recognized in exported project file
Goto Forum:
  


Current Time: Thu May 22 01:31:46 EDT 2025

Powered by FUDForum. Page generated in 0.04082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top