IntelliJ IDEA project created SpringBoot error: The package does not exist org.springframework.boot

Solution:
Add rely on pom.xml configuration file
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-aop</artifactId>
</dependency>
If adding the error still can reload maven package
1. Build -> Rebulid Project like
2. Execute cmd in the project root directory 
mvn clean install -Dmaven.test.skip = true
3. File -> Settings and find the relative menu operation in Figure numerical order, the project right -> Maven-> Reimport;

Guess you like

Origin www.cnblogs.com/iwyou/p/12149797.html