class missing after Importing spring framework project in eclipse -
I'm new to the Spring Framework and with the basic knowledge of Maven. I tried to import the Spring Project in Eclipse (File - Import - Current Maven Projects) I think,
1) This project has not been imported as a Java project. That is, if I right click on the project and see the properties, then I do not get the options like Java build path, Java compiler etc.
2) I am looking for a particular class in the project, but it is not there, though I can see that class from the terminal. So this is very much in the project. So why can not I see it in eclipse? Why is this not imported with the project?
Please note that I am using Eclipse_June and I can compile the project with Maven on Terminal and Eclipse.
There are some things that could have been wrong, it is difficult to say what happened.
If you have imported, then you are likely to be built on the command line ( mvn clean install ), it is good that it does not have much trouble importing it into IDE Once the settings are OK.
Ensure that you have the m2e (maven 2 eclipse) plugin available. So Eclipse can detect its Maven project if you also try the Spring Tool Suit (STS), then I will use spring:
if the project has not been recognized as Java - or the necessary aspects have not been identified - why would I try to understand that something in the priorities is not properly established? (Maven Home, Execution, SDK, ...)
Comments
Post a Comment