转载自: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
产生错误的操作:
解决方法:
1、找到Tomcat的配置文件“context.xml”,在Context标签中添加两个属性( reloadable=true” privileged=true”),如下图: