NaveenKumarK219 / leave-management-system

Application for managing employee leaves and queries
77 stars 60 forks source link

404 when deploying war on tomcat 10.0.22 #7

Open zAbuQasem opened 2 years ago

zAbuQasem commented 2 years ago
com.lms leave-management-system 1.0 war leave-management-system Leave Management System org.springframework.boot spring-boot-starter-parent 1.5.7.RELEASE UTF-8 UTF-8 1.7 com.lms.LeaveManagementSystemApplication org.hibernate hibernate-core 5.0.12.Final org.springframework.boot spring-boot-starter-data-jpa org.springframework.boot spring-boot-starter-mail org.springframework.boot spring-boot-starter-security org.springframework.boot spring-boot-starter-thymeleaf org.thymeleaf.extras thymeleaf-extras-springsecurity4 org.springframework.boot spring-boot-starter-web org.postgresql postgresql runtime org.springframework.boot spring-boot-starter-tomcat provided org.springframework.boot spring-boot-starter-test test org.springframework.security spring-security-test test net.sourceforge.nekohtml nekohtml org.json json org.apache.maven.plugins maven-war-plugin 3.3.2 false org.springframework.boot spring-boot-maven-plugin


My Postgres user password is similar to the one in the ` ./target/classes/application.properties`
BigFlyTea commented 8 months ago

Hi, have you solved your 404 error? I meet the same problem. After mvn install the project and deploying the war file in tomcat 7, the 404 error occurs when accessing the web page.

zAbuQasem commented 8 months ago

Yes, i remember i solved it but i don't remember how. it's been almost 2 years

BigFlyTea commented 8 months ago

Hi, do you remember where to set username manager@email.com and password 123456?

BigFlyTea commented 8 months ago

Hi, i have solved the problem. The 404 error is caused by the failing database lms creation. I create lms in psql shell with the "psql -U postgres lms < app-DB-Script.sql". It fails with not any notification.

gstgrace commented 6 months ago

Hi, i have solved the problem. The 404 error is caused by the failing database lms creation. I create lms in psql shell with the "psql -U postgres lms < app-DB-Script.sql". It fails with not any notification.

Hi, I got the same 404 error, but I believe I am able to create lms database since I can check its content via PostgreSQL. Any idea about how to debug?

Fireball2704 commented 2 months ago

Hi I want to know which version of java should i use.... I am right now using Tomcat 10.1 version. Because when i Check the error was java 8 is not supported