1. Go to eclipse Help menu -> Eclipse marketplace.
2. find-> spring tools
3. select spring tools 4 -> install
4. on your spring boot application. keep only like below.
@SpringBootApplication
@ComponentScan ( "com.xxxx" )
5. on your pom.xml, change the parent tag
org.springframework.boot
spring-boot-starter-parent
2.3.0.RELEASE
6. make sure all your spring-boot-xxx should be the same version 2.3.0.RELEASE
7. Exit eclipse and clear your workspace, re-import. compile and enjoy.
8. Also make sure all your jar related to spring is updated to recent version.
2. find-> spring tools
3. select spring tools 4 -> install
4. on your spring boot application. keep only like below.
@SpringBootApplication
@ComponentScan ( "com.xxxx" )
5. on your pom.xml, change the parent tag
6. make sure all your spring-boot-xxx should be the same version 2.3.0.RELEASE
7. Exit eclipse and clear your workspace, re-import. compile and enjoy.
8. Also make sure all your jar related to spring is updated to recent version.
No comments:
Post a Comment