Those who started working with Spring-Roo for faster development but facing difficult to set up STS Spring Roo Project Environment.
It may turn to roadblock if below problems cannot be resolved:
- Code is not compilable.
- Maven Dependencies are not shown in project configurations.
This is having 3 fixes & you can start your development:
- Update POM file for correct aspect version : 1.9 for JDK 1.8 onwards
- <aspectj.plugin.version>1.9</aspectj.plugin.version>
- Configure correct location for maven settings.xml
- By default it will search in %USER_PROFILE%\.me\settings.xml
- So set to MVN 3.5+ : %MAVEN_HOME%\conf\settings.xml
- Maven Profile must be "development"
- Follow Below instructions for Maven profile update:
accepted
| You can activate the maven profile at the Eclipse by using the following step: - Right click at your project and select properties .- At the
Properties windows select Maven . - At the
right hand panel you will see Active Maven Profiles text box. - Please enter your
profile name , e.g. development or production .
|
--
----
Thanks & Regards,
Abhijeet
.