[
https://issues.jboss.org/browse/JBIDE-19425?page=com.atlassian.jira.plugi...
]
Martin Malina commented on JBIDE-19425:
---------------------------------------
Hmm, that seems strange.
The truth is that there is no rt.jar in the jdk.
But maybe it has been reorganized and is somewhere else now? And Eclipse is not yet fully
ready? But I don't really know where it could be.
Like in the case of javafx (JBIDE-19050).
Error when loading projects in Central with Java 9
--------------------------------------------------
Key: JBIDE-19425
URL:
https://issues.jboss.org/browse/JBIDE-19425
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: central
Affects Versions: 4.3.0.Alpha1
Reporter: Martin Malina
Assignee: Fred Bricon
Labels: Java9
Fix For: 4.3.x
Today I wanted to try out the latest build of Oracle JDK 1.9 beta and discovered a
problem with central.
When I started JBDS, I immediately got an error window pop up:
{code}
Refreshing JBoss Tutorials... has encountered a problem.
An internal error occurred during: "Refreshing JBoss Tutorials...".
javax/xml/bind/JAXBException
{code}
This is in the workspace log:
{code}
!ENTRY org.eclipse.core.jobs 4 2 2015-03-10 17:12:52.346
!MESSAGE An internal error occurred during: "Refreshing JBoss Tutorials...".
!STACK 0
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at
org.jboss.tools.project.examples.model.ProjectExampleUtil.fetchCategories(ProjectExampleUtil.java:389)
at
org.jboss.tools.project.examples.model.ProjectExampleUtil.getProjects(ProjectExampleUtil.java:266)
at
org.jboss.tools.project.examples.model.ProjectExampleUtil.getProjects(ProjectExampleUtil.java:257)
at org.jboss.tools.central.jobs.RefreshTutorialsJob.run(RefreshTutorialsJob.java:52)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException cannot be found
by org.jboss.tools.project.examples_3.0.0.Alpha1-v20150213-0945-B3
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 5 more
{code}
I used JBDS 9.0.0.Alpha1 installed on OS X 10.10 Yosemite with Oracle JDK 1.9:
{code}
nattura:9.0.0 rasp$ java -version
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b53)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b53, mixed mode)
{code}
The consequence of this is that the "Start from scratch" section in Central is
not loaded and shows "No entries found".
Note: When I installed the same JBDS with Java 8, there was no error.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)