2010年7月3日
摘要: richfaces rich:tree使用总结 第一个问题:java.lang.NoClassDefFoundError: org/richfaces/model/TreeNode,jboss直接无法启动。 说 明: 在EAR和WAR的WEB-INF/lib下面都已经有richfaces-api.jar、richfaces-impl.jar、richfaces-ui.jar了。 解决方法:尝试着将richfaces-*.jar复制到/server/defaut/lib中,问题貌似解决,结果高兴早了。 第二问题: org.richfaces.model.TreeNodeImpl cannot be cast to javax.swing.tree.TreeNode,正常启动,但是前台页面无法显示。 说明:在程序中从未使用过javax.swing.tree.TreeNode。 解决方法:1. /server/defaut/lib中只保留richfaces-api.jar;2. EAR下面只保留richfaces-api.jar; 3. WAR 阅读全文
posted @ 2010-07-03 12:39 路政 阅读(1700) 评论(2) 推荐(1) 编辑