Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JDK Bug System by Webbug Group, 1 year ago
tried to access class com.sun.tools.javac.parser.JavacParser$2 from class com.sun.tools.javac.parser.JavacParser
java.lang.IllegalAccessError: tried to access class com.sun.tools.javac.parser.JavacParser$2 from class com.sun.tools.javac.parser.JavacParser	at com.sun.tools.javac.parser.JavacParser.modifiersOpt(JavacParser.java:2793)	at com.sun.tools.javac.parser.JavacParser.typeDeclaration(JavacParser.java:3172)	at com.sun.tools.javac.parser.JavacParser.parseCompilationUnit(JavacParser.java:3112)	at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:628)	at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:665)	at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:950)	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:857)	at com.sun.tools.javac.main.Main.compile(Main.java:523)	at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)	at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)	at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)	at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)	at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:785)	at org.apache.maven.plugin.compiler.TestCompilerMojo.execute(TestCompilerMojo.java:152)	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)