https://bugzilla.redhat.com/show_bug.cgi?id=1704981
esnel(a)xs4all.nl changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |esnel(a)xs4all.nl
--- Comment #11 from esnel(a)xs4all.nl ---
This bug (or a similar one) is still present in F32 (all updates installed
today). New stack trace from ~/workspace/.metadata/.log:
!ENTRY org.eclipse.osgi 4 0 2020-04-30 10:39:39.922
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.m2e.core (279).
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.m2e.core.internal.MavenPluginActivator.start() of bundle
org.eclipse.m2e.core.
at
org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:863)
...
Caused by: java.lang.NoClassDefFoundError:
org/apache/maven/shared/artifact/resolve/ArtifactResolverException
at java.lang.Class.getDeclaredConstructors0(Native Method)
...
Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.artifact.resolve.ArtifactResolverException cannot be
found by org.eclipse.m2e.archetype.common_1.15.0.20200401-2126
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:516)
...
Root exception:
java.lang.NoClassDefFoundError:
org/apache/maven/shared/artifact/resolve/ArtifactResolverException
at java.lang.Class.getDeclaredConstructors0(Native Method)
...
Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.artifact.resolve.ArtifactResolverException cannot be
found by org.eclipse.m2e.archetype.common_1.15.0.20200401-2126
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:516)
...
Analysis:
* The class actually *IS* available, but in a different package, i.e.
"org.apache.maven.shared.transfer.artifact.resolve.ArtifactResolverException"
* It seems to be caused by using incompatible versions of "archetype-common"
and "maven-artifact-transfer"
* It seems to be resolved in "maven-artifact-transfer" version
"3.1.2"
* Manually changing the symbolic link "archetype-common-3.1.1.jar" in
"/usr/share/eclipse/droplets/m2e-core/plugins/org.eclipse.m2e.archetype.common_1.15.0.20200401-2126/jars"
to point to version "3.1.2" of this Maven component resolved this issue for me.
Proposed solution:
* Update "maven-archetype-common" from "3.1.1" to "3.1.2"
--
You are receiving this mail because:
You are on the CC list for the bug.