|Oxygen.2 cannot find org.junit.Test [message #1779292]
||Thu, 04 January 2018 23:59
| Eric Kolotyluk
Registered: November 2010
After importing the project https://github.com/ConSol/java9-modules-maven-junit-example compilation fails when trying to import "org.junit.Test' et al. This project builds, tests, runs fine via Maven.|
Looking at the classpath in the Package Explorer, I can clearly see that "org.junit.Test" et al are on the classpath via junit-4.12.jar, but in the editor, it complains "the import org cannot be resolved"
Has anyone else had problems like this with Oxygen.2?
Should I report this as a defect, or does anyone have any ideas on what else to check in the configuration?
I note that in the past I have often seen Eclipse complain about imports this way, but for the life of me, I cannot remember what the resolution was. As far as I am concerned, if a project builds fine via Maven, then Eclipse should also be able to import and build it without issues.
Powered by FUDForum
. Page generated in 0.02290 seconds