exception starting filter struts2 java.lang.nullpointerexception
开发struts2项目遇到这个问题,我在struts.xml文件中:
<constant name="struts.devMode" value="true" />
把这个true改为false,问题就解决了,但是不知道是什么原因,有知道的留言谢谢
开发struts2项目遇到这个问题,我在struts.xml文件中:
<constant name="struts.devMode" value="true" />
把这个true改为false,问题就解决了,但是不知道是什么原因,有知道的留言谢谢
本文介绍了一种解决Struts2项目中出现的NullPointerException异常的方法。通过将struts.xml配置文件中的struts.devMode设置为false,可以避免该异常的发生。
175

被折叠的 条评论
为什么被折叠?



