tomcat startup error Exception in main and other errors

Reason: The memory of tomcat about the project is not configured, the memory overflows when it starts, and then an error is reported, and the memory of tomcat can be modified.

(1) Find the server column in eclipse, then double-click tomcat to open the configuration file of tomcat

(2) Click Open launch configuration under the General Information column

(3) Find the Arguments tab, and append this sentence at the end of the entry under VM arguments : -Xms128m -Xmx1024m -XX:MaxPermSize=512m

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325674572&siteId=291194637