-
Notifications
You must be signed in to change notification settings - Fork 41
Description
I got some different results/errors, when i run openpojo from Maven command line versus running inside Eclipse IDE.
This comes from the fact, that when i execute the unit test with Eclipse internal "run as junit test", Eclipse computes the classpath from the projects output folder, and does not use the generated JAR artifact.
This leads to problem, that "myproject.jar" is not loaded (since the JavaClassPathClassLoader does only load JAR files)
[main] INFO com.openpojo.reflection.java.packageloader.env.JavaClassPathClassLoader - Loading classes from: C:\Users\user\workspace\myproject\target\classes
[main] WARN com.openpojo.reflection.java.packageloader.env.JavaClassPathClassLoader - Failed to load entries from: [C:\Users\user\workspace\myproject\target\classes]
But what about loading the classfiles from an exploded project folder?
Like: myron0815@b986f73