I am trying to deploy external war file into embedded tomcat of spring boot.I added gradle dependencies in the format of .war file and i want run this war with by spring boot app , but not running please anyone can help me out.
相关问题
- Spring Boot 2 NoSuchMethodException: org.springfra
- BootJar + MavenJar. Artifact wasn't produced b
- Run non main class of spring boot application thro
- Spring Boot 2 Gradle plugin without executable jar
- how to proguard with spring-boot gradle plugin
相关文章
- Spring Boot 2 Gradle plugin without executable jar
- how to proguard with spring-boot gradle plugin
- Receiver class o.s.c.b.BootstrapApplicationListene
- Exception while creating a fat jar for spring boot
- Springboot upgrade 1.5.8 to 2.0 release getting ex
- Spring Boot 2 - Change Jar Name
- Running Spring Boot Application on WebSphere 9
- Spring Boot web application running on Google App
Just try with this approach. add this code block in your spring boot application. your war file must be placed in a
src/main/resources
directory.-> change the base directory in the application.properties as
A few classes have changed in Spring Boot 2 and hence you'll have to do: