Menu
  • HOME
  • TAGS

Spring Boot War file gets 404 on ec2

tomcat,amazon-ec2,spring-boot,.war

I've answered a similar question here. You are running your external tomcat under a Java 1.7 JRE, while having compiled your code against 1.8. Strangely, there is no error, and the app appears in the manager app, but then you get a 404 when you're trying to access it. One...

META-INF/MANIFEST.MF file not found in unnamed.war

java,maven,intellij-idea,manifest.mf,.war

Add MANIFEST.MF to YOUR_PROJECT_NAME/web/src/main/webapp/META-INF/ folder with the simple content: Manifest-Version: 1.0 Or you can generate it using IntelliJ Artifacts Configuring...

How to create .war file using jenkins for deployment

java,ant,jenkins,jenkins-plugins,.war

Finally i find the solution, Jenkins is not having a feature like auto creating .war file. so we have to create build.xml (ANT) for creating .war file. Keep this file in your project and check-in into the repository. And map the build.xml location in Jenkins configuration page. When the build...