Leave a Reply

45 Comments on "Spring Boot Quick Start 32 – Packaging and running a Spring Boot app"

Notify of
avatar

Raja Rajesh
Guest
Raja Rajesh
6 days 13 hours ago

i try deploy spring boot application as war in tomcat, while ajax call or requestmapping is doesn't take common base path as /project name.. how to set common base path as /project name

David Diz Oya
Guest
David Diz Oya
2 months 12 days ago

Thanks a lot. It's so helpful.

David Diz Oya
Guest
David Diz Oya
2 months 12 days ago

Thanks a lot. It's so helpful.

Niranjan Vaddi
Guest
Niranjan Vaddi
4 months 24 days ago

May i know from where your running the command "mvn clean install" please…..?

Aarold Aaroldson
Guest
Aarold Aaroldson
2 months 4 days ago

from command line

Niranjan Vaddi
Guest
Niranjan Vaddi
4 months 25 days ago

May i know from where your running the command "mvn clean install" please…..?

Aarold Aaroldson
Guest
Aarold Aaroldson
2 months 4 days ago

from command line

Vivek Denver
Guest
Vivek Denver
5 months 21 days ago

Greatl tutorialsthanks

Vivek Denver
Guest
Vivek Denver
5 months 22 days ago

Greatl tutorialsthanks

Dusan Jovanov
Guest
Dusan Jovanov
7 months 10 hours ago

mvn clean install doesn't work if you don't have Maven installed on your system and added to the PATH variable, but you have a Maven wrapper in your project so just do: mvnw clean install and it should work

dheerajkumarreddy kotha
Guest
dheerajkumarreddy kotha
6 months 29 days ago

Worked for me

Dusan Jovanov
Guest
Dusan Jovanov
7 months 17 hours ago

mvn clean install doesn't work if you don't have Maven installed on your system and added to the PATH variable, but you have a Maven wrapper in your project so just do: mvnw clean install and it should work

dheerajkumarreddy kotha
Guest
dheerajkumarreddy kotha
6 months 30 days ago

Worked for me

Kevin Boger
Guest
Kevin Boger
7 months 11 days ago
Great Tutorial! I can deploy my springboot (1.5.3) to Tomcat 8.5 but I noticed when I reference a another spring application as a dependency, there's an error at startup. java.lang.ClassNotFoundException: com.product.pc.model.PersonIt's just a simple java model class. Everything works in my workspace and when I run the project as a spring boot app. but when I create the WAR and drop in the webapps directory of a new instance of Tomcat. I get the error. Is there a problem with my classpath or the way Tomcat see a deployable War file? Here's my POM entry of the main project. <dependency><groupId>com.swisher</groupId><artifactId>product-common</artifactId><version>0.0.1-SNAPSHOT</version></dependency>
1 2 3
wpDiscuz