I am trying to deploy the Spring Boot Application with WAR packaging to Tomcat 10. The application gets deployed successfully, however, when I try to access the endpoints it results in 404 Not Found. WAR File: application.war Tomcat webapps/application folder consists of following and index.html (Angular) have <base href=”/”> As discussed here, I have added a class AppServletInitializer which extends
Tag: angular
How to deserialize from Number value to int (error – no int/Int-argument constructor/factory method to deserialize from Number value)
I have two classes Flight and Ticket. One flight can has lots of tickets, so Ticket has foreign key flight_id. Here is my database with tables flight and ticket. Here is my json request (from Mozilla debugger), which I want to save in the database. You can see flight_id parameter, but I can’t save it to my database, I’ve got