I just faced a strange problem, this is the first time i deploy a spring boot application on server
As usual i ran the application using java command java -jar myApp.jar
after while, i see the application got stop without leaving any error message.
so i don't know what is the problem,
possible reason is java memory is not enough so i increased it to 7GB due it has socket
but the problem still exist
note that i dont have docker and the server is Linux ubuntu provided by Amazon light sail
The server is running a weblogic, jboss, glassfish, tomcat or something else? You dont use maven in this project? Try to build it using maven, with 'mvn clean install' in the root of the project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.