工作遇到的问题和解决办法2
2007-05-20 10:46
585 查看
07年5月19日
遇到了一个
javax.servlet.jsp.JspException: Exception creating bean of class org.apache.struts.action.Actionform: {1}的错误,在网上查了一下,这是一位兄弟的错误原因分析
可能原因
lInstantiating Struts-provided Actionform class directly instead of instantiating a class derived off Actionform. This might occur implicitly if you specify that a form-bean is this Struts Actionform class rather than specifying a child of this class for the form-bean.
lNot associating an Actionform-descended class with an action can also lead to this error.
Cannot find ActionMappings or ActionformBeans collection
但是以上都不是我犯的错误,这可怎么办,折腾了我半天,最后终于知道自己为什么会犯这个错误,简直无颜以对了...
我的反错原因:
我在公司的elipse+myeclipse工程是在E盘里,在家的确实G盘里,当我把工程放在家里的时候,却一直出错,因为我在
导入工程的时候,是一直把工程放在workspace里,然后在eclipse里新建工程直接起个同名的就OK了,这样就会报上面的错误,应该导入工程,并且构建一下!这样就不会有这样的错误了.
遇到了一个
javax.servlet.jsp.JspException: Exception creating bean of class org.apache.struts.action.Actionform: {1}的错误,在网上查了一下,这是一位兄弟的错误原因分析
可能原因
lInstantiating Struts-provided Actionform class directly instead of instantiating a class derived off Actionform. This might occur implicitly if you specify that a form-bean is this Struts Actionform class rather than specifying a child of this class for the form-bean.
lNot associating an Actionform-descended class with an action can also lead to this error.
Cannot find ActionMappings or ActionformBeans collection
但是以上都不是我犯的错误,这可怎么办,折腾了我半天,最后终于知道自己为什么会犯这个错误,简直无颜以对了...
我的反错原因:
我在公司的elipse+myeclipse工程是在E盘里,在家的确实G盘里,当我把工程放在家里的时候,却一直出错,因为我在
导入工程的时候,是一直把工程放在workspace里,然后在eclipse里新建工程直接起个同名的就OK了,这样就会报上面的错误,应该导入工程,并且构建一下!这样就不会有这样的错误了.
相关文章推荐
- 工作中遇到的问题和解决办法8(could not initialize a collection的问题)
- 工作中遇到的问题和解决办法10
- 工作遇到的问题和解决办法1
- 工作遇到的问题和解决办法6
- 工作中遇到的问题及解决办法17
- 工作中遇到的问题及解决办法16
- 工作中遇到的问题及解决办法12
- 工作中遇到的问题和解决办法13
- 工作遇到的问题和解决办法4
- 近期工作中遇到的问题及其解决办法
- 工作中遇到的问题及解决办法18(hibernate)
- 工作中遇到的问题和解决办法7
- 杂记,主要是工作中遇到的问题及解决办法
- 工作中遇到的问题和解决办法9
- LoadRunner在性能测试工作中遇到的问题以及解决办法小结
- 工作中遇到的问题及解决办法15
- 工作中遇到的问题及解决办法(1)
- LoadRunner在性能测试工作中遇到的问题以及解决办法小结
- 工作遇到的问题和解决办法3
- 工作中遇到的IE6兼容性问题及解决办法