I have been trying to make a simple Spring project using Eclipse and Maven but I am running into problems. The first one I am trying to resolve is the fact that my code doesn’t seem to compile.
For example, if in a class I type Strrrring test = new String(); there is not error at all displayed by Eclipse. I checked the Properties of the project, under Java Compiler and everything seems to be fine.
Command Line
If you have maven installed, you can make maven project working in Eclipse via
mvncommand. At the root of the project run:If you want to view the source/doc of the artifact used in your project, you can run following command instead:
Eclipse Plugin
Or if you prefer use Eclipse plugin, you can install m2eclipse plugin and re-import project