Could not exec java with Spring+Maven exit code 1

后端 未结 5 1202
梦如初夏
梦如初夏 2021-01-18 03:07

I am new to Spring/Maven, and am following this tutorial: Serving Web Content with Spring MVC.

Everytime I run mvn spring-boot:run, I get this error:

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-18 03:16

    In my case I just delete "devtools" dependency.

        
            org.springframework.boot
            spring-boot-devtools
            true
        
    

    And it works!

提交回复
热议问题