I've been using SpringBoot to develop a webapp - running it on localhost works fine, both using a jar and war to run it from terminal such that:
mvn install && java -jar target/Eeeeek-0.0.1-SNAPSHOT.jar
and
java -jar target/Eeeeek-1.3.2.BUILD-SNAPSHOT.war
both work fine, I'm now only packaging as a war file.
The site is visible at http://localhost:8080
I'm now trying to deploy it to my tomcat manager hosted by digitalOcean.
visiting the ip of the droplet http://46.101.2.91:8080
shows the tomcat manager which is great, I then deploy using the manager but encounter errors when I try and access it.
Ideally I'd like the app to eb the landing page of the ipaddress. Any help is appreciated, thank you.
The url when I click the link in manager is http://46.101.2.91:8080/Eeeeek%2D1%2E3%2E2%2EBUILD%2DSNAPSHOT/
which doesn't look right...
EDIT: As per the answer given I've deleted the .war and filter from webapps, ran a mvn clean package. Then used the manager to upload the new shiny war. During the upload the page crashed with an error at URL http://46.101.2.91/manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=846E819F21EFBBE715AFBFA39F349E34
I returned to the main and found that the app had been uploaded. Checking webapps dir also confirmed but the same error persisted.