我想部署一個Web應用程序使用休眠到Jboss 4.3.2.GA但我收到以下錯誤。嘗試部署一個Web應用程序使用最新的休眠版本jboss4.2.3.GA
Invocation of init method failed; nested exception is
org.hibernate.AnnotationException:
java.lang.NoSuchMethodException:
org.hibernate.validator.ClassValidator.<init>(
java.lang.Class,
java.util.ResourceBundle,
org.hibernate.validator.MessageInterpolator,
java.util.Map,
org.hibernate.annotations.common.reflection.ReflectionManager)
我在/ WEB-INF 一 「的jboss-web.xml中」 爲
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<loader-repository>
<loader-repository-config>
java2ParentDelegation=false
</loader-repository-config>
</loader-repository>
</jboss-web>
,但我仍然有同樣的錯誤
你的帖子/答案告訴了我一些我不知道你可以用JBoss做的事情,並解決了它帶來的問題。非常感謝您發佈此信息。 – Brendan