IDEA has a built-in Maven environment, which is used by default to address project dependencies. After creating a new project, the pom.xml file and the project name.iml file are generated in the project path. After creating a new project, IDEA does not automatically refresh the Maven dependencies. Maven configuration should be refreshed when @springbootapplication file is automatically generated in MyspringbootApplication:
Open File –> in turn; settings–> Build–> Maven,

Select the “Import Maven projects Automatically” option to refresh Maven

Open File –> in turn; settings–> Build–> Maven,

Select the “Import Maven projects Automatically” option to refresh Maven

Read More:
- Maven global configuration
- 3. Idea creates a springboot project, and spring initializer reports an error Error:connect timed out
- Solve the error of POM file failed to read artifact descriptor for XXX under IntelliJ idea
- Failed to read artifact descriptor for * maven
- Failed to execute goal in Maven build org.apache.tomcat .maven:
- Solution of plugins error reporting in idea maven
- Idea Maven project uses package to package and report error (package does not exist)
- IntelliJ idea error: package not found or symbol not found
- Java cpp-0.11.jar, opencv-windows-x86_ 64.jar,opencv-2.4.11-0.11.jar
- Idea couldn’t be found org.springframework.context .support
- javac Task Error source release 1.7 requires target release
- Solve gradle project refresh failed
- New Maven project– pom.xml report errors
- Failed to find target with hash string”android-21″ in:D:\AndroidVersionSdk
- How to Fix “the data of store is lost after Vue refreshes the page”
- Failed to resolve: com.android.support:appcompat-v7:25.3.0
- 解决Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- How to Fix Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- Change API level Android studio
- Failed to execute goal