Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » The tycho throwed java.lang.IllegalAccessError(Tycho)
The tycho throwed java.lang.IllegalAccessError [message #1841625] Sun, 23 May 2021 09:05 Go to next message
David Sun is currently offline David SunFriend
Messages: 17
Registered: July 2020
Junior Member
In windows10 , From command line, I typed: mvn compile .Then the maven throwed the following exception:

Exception in thread "main" java.lang.IllegalAccessError: tried to access field$EEType.profileName from class
at java.base/java.util.Collections.max(
at java.base/java.util.HashMap.computeIfAbsent(
at org.eclipse.tycho.core.osgitools.OsgiBundleProject.applyBestOfCurrentOrConfiguredProfile(
at org.eclipse.tycho.core.osgitools.OsgiBundleProject.readExecutionEnvironmentConfiguration(
at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject(
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(
at org.apache.maven.DefaultMaven.doExecute(
at org.apache.maven.DefaultMaven.doExecute(
at org.apache.maven.DefaultMaven.execute(
at org.apache.maven.cli.MavenCli.execute(
at org.apache.maven.cli.MavenCli.doMain(
at org.apache.maven.cli.MavenCli.main(
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
at java.base/java.lang.reflect.Method.invoke(
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(
at org.codehaus.plexus.classworlds.launcher.Launcher.main(
My Maven's version is 3.8.1 and jdk is javase-11.
Can anyone help me ?
Thansk a lot!
Re: The tycho throwed java.lang.IllegalAccessError [message #1841626 is a reply to message #1841625] Sun, 23 May 2021 10:01 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32081
Registered: July 2009
Senior Member
It's best to ask on the tycho-user mailing list:

They'll likely want to to know which Tycho version you are using and they'll likely ask if you can reproduce the problem using Tycho 2.3.0...

Ed Merks
Professional Support:
Previous Topic:Eclipse Tutorial , Creating the Project, Accessing JUnit
Next Topic:requires org.eclipse.equinox.p2.iu
Goto Forum:

Current Time: Thu Oct 28 09:29:36 GMT 2021

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

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

Back to the top