GeezerVison is showing github.com — EclipseHelperMojo doesn't load EclipseHelper when project linked · Issue #10 · scijava/scijava-maven-plugin
EclipseHelperMojo doesn't load EclipseHelper when project linked #10
Description
When building SCIFIO in Eclipse with project-linkage to SciJava-common, I get an exception with the message: Could not load EclipseHelper.
This comes from a failure to load the org.scijava.annotations.EclipseHelper.class in the EclipseHelperMojo when SJC is project-linked in Eclipse as a dependency of the project I was building.
I checked the built classpath and confirmed that it did point to a path on disk that would find the EclipseHelper class.
The temporary workaround is to close the SJC project in Eclipse.
Occurred on Windows 8.1, Eclipse 4.4.0 and scijava-maven-plugin 0.4.4.
stack trace
java.net.URLClassLoader$1.run(Unknown Source)
java.net.URLClassLoader$1.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(Unknown Source)
java.lang.ClassLoader.loadClass(Unknown Source)
java.lang.ClassLoader.loadClass(Unknown Source)
org.scijava.maven.plugin.EclipseHelperMojo.execute(EclipseHelperMojo.java:105)
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:328)
Activity
ctrueden commented on Mar 23, 2015
Thanks to 3f371b4, there is a friendly suggestion to close scijava-common in case it is an open project linkage. This is good enough for me—it helped me when I ran into the same situation. Technically, this is still an open issue, but I'm assigning to unscheduled milestone since I see no need to address it in the foreseeable future.
hinerm commented on Mar 23, 2015
Metadata
Metadata
Development
No branches or pull requestsIssue actions