1. 程式人生 > >tomcat啟動報錯Could not publish to the server. java.lang.NullPointerException

tomcat啟動報錯Could not publish to the server. java.lang.NullPointerException

tomcat部署好後用了很久,突然啟動報錯:
Could not publish to the server.
java.lang.NullPointerException
這裡寫圖片描述

解決方法:
在eclipse 的工作空間下,.metadata.plugins\org.eclipse.wst.server.core\ 找到temp0 ,刪除,再重啟eclipse即可。