org.springframework.boot.web.support does not exist

前端 未结 4 1468
一向
一向 2021-02-12 09:48

I\'m changing build systems from maven to gradle for a spring boot project. I get this stacktrace

19:03:08: Executing external task \'bootRun\'...
/home/dac/proj         


        
4条回答
  •  没有蜡笔的小新
    2021-02-12 10:17

    You should use the same spring boot version 1.4.0.BUILD-SNAPSHOT as in maven. org.springframework.boot.web.support.SpringBootServletInitializer was introduced since 1.4.0 that's why gradle cannot find it.

提交回复
热议问题