-
Bug
-
Resolution: Done
-
Major
-
4.19.0.Final
-
None
-
Sprint #203 June 2021
-
3
-
-
Undefined
Whenever I open a core Java class in Eclipse IDE (4.19 and older) I get a popup from JBoss Tools that states
An internal error occurred during: "Identify jrt-fs.jar". javax/xml/bind/JAXBContext
This is rather annoying as it happens every time and well, doesn't jibe very well with a nice user interface experience.
The error log shows this stack trace:
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.searchArtifactFromRemoteNexusRepository(NexusRepositoryIdentifier.java:96) at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.getArtifactFromRemoteNexusRepository(NexusRepositoryIdentifier.java:78) at org.jboss.tools.maven.core.internal.identification.NexusRepositoryIdentifier.identify(NexusRepositoryIdentifier.java:50) at org.jboss.tools.maven.core.internal.identification.FileIdentificationManager.identify(FileIdentificationManager.java:91) at org.jboss.tools.maven.sourcelookup.ui.actions.AttachSourcesActionDelegate$1.run(AttachSourcesActionDelegate.java:114) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext cannot be found by org.jboss.tools.maven.core_1.9.200.v20200925-0612 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:519) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 6 more
The error report also showed these settings:
eclipse.buildId=4.19.0.I20210303-1800 java.version=15.0.2 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -keyring /Users/dashorst/.eclipse_keyring Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -data file:/Users/dashorst/Workspaces/Banana/ -product org.eclipse.epp.package.java.product -keyring /Users/dashorst/.eclipse_keyring
- duplicates
-
JBIDE-26847 An internal error occurred during: "Identify jrt-fs.jar".
- Resolved