here is no result type defined for type 'plaintext'解决
2014-02-13 22:19
387 查看
在用struts2时,使用了 <result type="plaintext"> 进行页面的源码展现,
但是编译始终报错:here is no result type defined for type 'plaintext'。
最后发现,例子中使用的是struts2-core-2.0.6.jar; 而实际编译使用的是:struts2-core-2.2.1.jar;
通过在网上的查找发现:struts2.1版本后plaintext改为了plainText了,这还真神奇。
但是编译始终报错:here is no result type defined for type 'plaintext'。
最后发现,例子中使用的是struts2-core-2.0.6.jar; 而实际编译使用的是:struts2-core-2.2.1.jar;
通过在网上的查找发现:struts2.1版本后plaintext改为了plainText了,这还真神奇。
相关文章推荐
- Caused by: There is no result type defined for type 'json' mapped with name 'rebback'. Did you mean
- Struts2 错误:There is no result type defined for type 'json' mapped with name 'success'.
- struts2 配置错误There is no result type defined for type 'json'
- struts2整合json出现no result type defined for type 'json'的解决方法
- There is no result type defined for type 'json' mapped with name 'success'.
- struts2整合json出现no result type defined for type 'json'的解决方法
- There is no result type defined for type 'json' mapped with name 'success'.
- struts2整合json出现no result type defined for type 'json'的解决方法
- 解决 C++错误 error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class CString' (or there is no
- no result type defined for type 'dispatch'mapped
- There is no result type defined for type 'json' mapped with name 'success'.
- error C2679: binary '<<' : no operator defined which takes a right-hand operand of type '' (or there is no acceptable conversion
- 错误解决:There is no getter for property named 'id' in class 'java.lang.String'
- SSH 报 There is no result type defined for type 'json' mapped with name 'success'. 错
- There is no result type defined for type 'json'...
- There is no result type defined for type 'json' mapped with name 'success'.
- SSH搭建遇到的问题---There is no result type defined for type 'json' mapped with name 'success'.
- Caused by: There is no result type defined for type 'json' mapped with name 'success'. Did you mean
- struts中使用json,报错There is no result type defined for type 'json' mapped with name 'success'.
- Mybatis 对单独传入参数string进行判断时报There is no getter for property named '**' in 'class java.lang.String解决办法