Could not publish to the server. java.lang.NullPointerException

 

eclipse启动tomcat时,报错

 

Could not publish to the server.  

java.lang.NullPointerException 

  网上搜到的解决方案

  1. 关闭eclipse  
  2. 在自己设置的workspace目录下面,打开目录:.metadata.pluginsorg.eclipse.wst.server.core  
  3. 删除“temp0”文件夹  
  4. 启动eclipse  

原文地址

原文地址:https://www.cnblogs.com/tongs/p/7485205.html