jpenninkhof / odata-boilerplate

OpenUI5 boilerplate based on OLingo, JPA and Spring Boot
MIT License
82 stars 41 forks source link

Getting 404 error when deployed as war on tomcat. #3

Closed muditsaurabh closed 6 years ago

muditsaurabh commented 7 years ago

I am deploying war file using -

mvn clean package -P hcp sudo cp target/odata.war /opt/tomcat/webapps sudo $CATALINA/bin/catalina.sh start

I have also tried setting server.contextPath=/myodata in application.properties.

muditsaurabh commented 7 years ago

It is working fine when maven 'jar' profile is selected.