Can't produce WAR file from Spring Boot application

霸气de小男生 提交于 2019-12-06 14:47:18
Kamil Nekanowicz

There's a bug in IntelliJ that means that provided dependencies aren't added to the classpath. Assuming you want to stick with IDEA, you have a few options:

Manually configure the classpath in IDEA Run the samples on the command line using mvn spring-boot:run Remove all occurrences of provided from the pom. This will mean that app can't be deployed as a war to Tomcat or similar

https://stackoverflow.com/a/32540017/3871754

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!