您的位置:首页 > 大数据 > 人工智能

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了,这还真神奇。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐