解决JBoss4.2运行appfuse2.0无法初始化sessionFactory问题
今天尝试将appfuse生成的demo在wtp下部署运行,当将项目文件部署并在wtp中导入项目后,便启动JBoss4.2运行效果,
但是deploy失败,出现一下关键错误栈信息
<!----><!---->
was delete hibernate-annotations.jar from the lib of jboss/default.With this my application runs correctly in jboss4.0.3.
I suppose that in next versions of jboss this lib will be actualized.
I hope it helps someone with the same problem as me.于是到jboss-4.2.0.GA\server\default\lib,将hibernate-annotations.jar删除,重新部署启动jboss4.2搞定!
<!---->?
?
1 楼 casheen 2008-11-14 您太有才了!节省了我不少查找问题的时间,谢谢!