Skip to content

Commit 3f371b4

Browse files
committed
Add workaround for EclipseHelper load failure
Updated the EclipseHelperMojo error messages to suggest a workaround when the EclipseHelper fails to load. See github.com//issues/10 for more information.
1 parent 894f819 commit 3f371b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/maven/plugin/EclipseHelperMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void execute() throws MojoExecutionException {
108108
throw new MojoExecutionException("Could not build class path for EclipseHelper", e);
109109
}
110110
catch (ClassNotFoundException e) {
111-
throw new MojoExecutionException("Could not load EclipseHelper", e);
111+
throw new MojoExecutionException("Could not load EclipseHelper. If you are using Eclipse and have scijava-common open - close it.", e);
112112
}
113113
catch (NoSuchMethodException e) {
114114
throw new MojoExecutionException("Could not find EclipseHelper's main() method", e);

0 commit comments

Comments
 (0)