Eclipse启动Server报错:Could not publish to the server. java.lang.NullPointerException

转载自:http://m.blog.csdn.net/article/details?id=49862243

错误信息:

publishing to tomcat v8.0 server at localhost has encontered a problem

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

Eclipse启动Server报错:Could not publish to the server. java.lang.NullPointerException

产生错误的操作:

Eclipse启动Server报错:Could not publish to the server. java.lang.NullPointerException

解决方法:

1、找到Tomcat的配置文件“context.xml”,在Context标签中添加两个属性( reloadable=true” privileged=true”),如下图:

Eclipse启动Server报错:Could not publish to the server. java.lang.NullPointerException

上一篇:Eclipse无法启动报An internal error occurred during: "reload maven project". java.lang.NullPointerException


下一篇:eclipse启动tomcat出现内存溢出错误 java.lang.OutOfMemoryError: PermGen space