I'm having a hard time trying to compile a project in Eclipse. It is a pretty big parent project with many subprojects.
Eclipse displays hundreds of errors about names that can't be resolved in some of the subprojects. When I open one of the offending files and hover the mouse over the import statement, I have the option "Fix setup", which offers to add a jar from my local maven repository to the build path. This fixes each single issue.
It would seem that the pom.xml files don't contain all needed dependencies, except the project compiles without problems in the command line with mvn compile
. So, there's something wrong with Eclipse and I have no idea what it could be.
After searching here in SO, I tried mvn eclipse:clean eclipse:eclipse
to recreate the classpath files, but that didn't help.
Any ideas are welcome.