tomcat啓動報錯Exception in main等錯誤

緣由:未配置tomcat關於項目的內存,在啓動的時候會內存溢出,而後報錯,修改tomcat內存便可tomcat

(1)找到eclipse中的server欄目,而後雙擊tomcat,打開tomcat的配置文件eclipse

(2)點擊General Information欄目下的Open launch configurationorm

(3)找到Arguments選項卡,在VM arguments下的輸入項末尾追加這句話:-Xms128m -Xmx1024m -XX:MaxPermSize=512mserver

相關文章
相關標籤/搜索