Skip to content

EclipseHelperMojo doesn't load EclipseHelper when project linked #10

Open
@hinerm

Description

@hinerm

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions