java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication Maven

后端 未结 13 1026
醉酒成梦
醉酒成梦 2020-11-28 11:10

I\'m trying to create a spring mvc application. This is my pom.xml




        
13条回答
  •  误落风尘
    2020-11-28 11:35

    Your jar does not contain the dependencies such as spring-boot which it is looking for during runtime. You can build a consolidated jar with all the dependencies as outlined in this question.

提交回复
热议问题