出现这个是因为tomcat6配置文件的问题,解决方法:修改tomcat目录conf/context.xml文件,新加两个属性.reloadable=”true” privileged=”true”>