Lukket

Deploy a Spring Boot war file to a Tomcat 9 at Centos 7, to fix HTTP Error Code 404

You have to experience the same issue before, so you can solve it in serval minutes. Here is the issue:

I can create a war file from my project in spring boot by: mvn clean, mvn install, I can run it by : java -jar *.war in Centos 7, all successful, but when copying the war to Tomcat 9's webapps as a [login to view URL], the sever get a HTTP code 404.

I have done the following steps:

1) Extends SpringBootServletInitializer

2)Marked the embedded servlet container as provided in the [login to view URL]

3)Update packaging to war <packaging>war</packaging>

4) Add scanPackage annotation as

@SpringBootApplication(scanBasePackages={"com.*})

but the HTTP error 404 is still there

Evner: Linux, Java Spring

Se mere: how to solve http status 404 error in tomcat, how to run a war file in spring boot, how to deploy spring boot war file in external tomcat, how to run spring boot application in eclipse with tomcat, spring-boot war not deploying on tomcat, spring boot microservices deployment tomcat, spring boot war tomcat 404, spring boot without embedded tomcat, how to deploy spring boot application in tomcat, spring-boot-starter-tomcat, http status 404 – not found spring boot, spring boot embedded tomcat, dotcms war file tomcat, deploy spring boot application to aws, how to deploy spring boot application to google app engine, run spring boot war from command line, spring boot war vs jar, spring boot upload file to database, spring boot large file upload, spring boot multipart file upload example

Om arbejdsgiveren:
( 6 bedømmelser ) Secaucus, United States

Projekt ID: #26941256

21 freelancers are bidding on average $26 for this job

sachinkumar19

Hi, I'm Redhat certified system administrator. I have worked on multiple Linux projects. And I would like to work on your project. please initiate the chat to talk on the project in details. Thanks & Regards, Sachin

$100 USD på 1 dag
(19 bedømmelser)
4.1
rnawaz

Hi there, I can fix this issue. Please get in touch if you are still looking and I will fix it straight away. Best regards Rab

$20 USD in 7 dage
(3 bedømmelser)
3.3
umanglpatel

Hi, It looks like you took the necessary steps to generate war and deploy on tomcat, i can check more on error 404 can you provide me the environment? thank you, umnag

$30 USD på 1 dag
(1 bedømmelse)
2.8
bishoyabdo

8 years of experience in Linux server management and cloud systems which includes Installation, Monitoring, and Optimization. I can handle the installation of applications on Linux. I do web hosting support, Website mi Flere

$25 USD på 1 dag
(8 bedømmelser)
2.8
sreepathivinod

Hi, I am a software architect with cloud expertise in AWS, GCP. I have strong experience in completing your task in time. Please DM for further discussions. Thanks, Vinod

$30 USD på 1 dag
(1 bedømmelse)
0.9
asr112

I am a Java Software Engineer having 3+ years of experience. I have good understanding about Java Stacks like Spring Cloud, Spring Boot, Jhipster, Spring Security, JPA & Hibernate etc. I am expertise in Microservice ar Flere

$30 USD på 1 dag
(1 bedømmelse)
1.0
lacapo123

hi sr , im a fullstack java jee developer and devops engineer, i have enough experience to deploy, recette, prod envirement, pakaging maven, enbeded tomcat in spring boot, i feel absolutly good with tomcat apache sprin Flere

$15 USD på 1 dag
(0 bedømmelser)
0.0
gorantlas9

I recently did this kind of deployment. Reach out to me on my phone +91-7708378828 so that we can close it off asap

$15 USD på 1 dag
(0 bedømmelser)
0.0
mithilwane

I have experienced and solved this problem before. So I think I would be able to help. We can do a screenshare and solve the problem

$20 USD på 1 dag
(0 bedømmelser)
0.0
Kazishadab

I have faced similar problem when deploying Spring Boot Application on CentOS VPS Servers, I can help you Identify the issue and solve it.

$35 USD på 1 dag
(0 bedømmelser)
0.0
vjay16

Hi, I have checked your project description and understood your all requirements. I am very confident to handle this project perfectly. I have done many projects like this. I can start work immediately and provide a Flere

$15 USD in 7 dage
(0 bedømmelser)
0.0
matheadithya7

Hello, I have 2 years experience in latest technology spring Boot, Tomcat 9 server and have issues resolving skill.

$20 USD in 2 dage
(0 bedømmelser)
0.0
ngkhoan

Hi. Nice to meet you. I have read your task carefully. Now I 'm ready for you. I 'll satisfy you fully. Dear regards!

$30 USD in 7 dage
(0 bedømmelser)
0.0
kaushiksumit9995

HI Hiring manager, Full Stack Developer, Specialized Advanced knowledge of Advance Java Strong knowledge with Spring Boot,Servlets,Jsp,Mysql strong knowledge in IOT ,ThingsBoard,Rabbit Mq,node red,MQTT,Http Exce Flere

$20 USD in 7 dage
(0 bedømmelser)
0.0
shariq1926

Dear Client, I have gone through your requirements. I have experience in deploying java applications on cloud and local servers. Recently, I have deployed spring boot app to linux ec2 instant in tomcat 9 as war. We nee Flere

$20 USD på 1 dag
(0 bedømmelser)
0.0
sayalisha

I have been working on building WAR files for deployment for over 3-4 years. I have experienced this issue frequently before. I do have a few quick tips which might resolve the issue

$20 USD in 2 dage
(0 bedømmelser)
0.0
kesaveee

Hi Client, I have faced similar problem before and have resolved the issue. I believe that I can help you with your problem. Please initiate chat to discuss furthur

$20 USD in 7 dage
(0 bedømmelser)
0.0
psup4wotk

Hello, I am a full stack java web developer since last 5 years. I have developed many web applications based on java ( jsp and servlets) and spring framework with maven and hibernate also. So I can help you with that i Flere

$30 USD in 2 dage
(0 bedømmelser)
0.0
sidhuballi

please send me tomcat 9 log file when it was showing 404 error Check [login to view URL] , [login to view URL] and [login to view URL] develop spring boot+hibernate+ payment gateway integration develop and maintenance by Flere

$20 USD in 7 dage
(0 bedømmelser)
0.0
piyush12197

As a experienced spring boot Developer i have faced and resolved this type of issue to many time. I can fux it if you give a chance.

$17 USD in 2 dage
(0 bedømmelser)
0.0