• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

spring boot application 404 error after deployed in tomcat

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I implemented rest api with spring boot. It works when I started the application in Spring Tool Suite with the following url http://localhost:8080/api/seqs/fdebfd6e-d046-4192-8b97-ac9f65dc2009.

However after I packaged it as war (without web.xml) called cgweb.war and deployed it in tomcat, I got 404 error with the url http://localhost:8080/cgweb/api/seqs/fdebfd6e-d046-4192-8b97-ac9f65dc2009.

I used 1.7 to compile the code and deployed it in tomcat 7. Why am I still getting 404?
    Bookmark Topic Watch Topic
  • New Topic