IntelliJ IDEA: Maven resources compiler error – Maven project configuration not available for module 'spring-boot-security-jwt'

已回答

Hi everyone,

I’m working on a Spring Boot project with a module spring-boot-security-jwt. When I try to build the project in IntelliJ IDEA, I get the following error:

 

Maven resources compiler: Maven project configuration required for module 'spring-boot-security-jwt' isn't available. Compilation of Maven projects is supported only if external build is started from an IDE.

0
Could you right-click on the Maven project in the Maven tool window and select `Sync Project` or `Reload Project`. This will ensure that all changes in the `pom.xml` and other configuration files are correctly imported and synchronized with IntelliJ IDEA
If you have "build project automatically" please check out the workaround mentioned here: https://youtrack.jetbrains.com/issue/IDEA-209711#focus=Comments-27-11122183.0-0 
If you still see the issue, a screencast showing your build configuration `File | Settings | Build, Execution, Deployment | Build Tools | Maven | Runner` and the steps performed should help us understand. It would also help if you could share a reproducer project for the issue. 
0

请先登录再写评论。