서버 구동시 

Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.Table.indexes()

에러가 발생하는 경우 jboss7에 기본적으로 가지고 있는

jboss-as-7.1.1.Final/modules/javax/persistence/api/main

하위의 jar파일과 

hibernate-jpa-2.1-api-1.0.0.final.jar 파일이 충돌나서 생기는 문제로

해당 module 폴더에 jar파일을 업로드하고 module.xml파일을 수정해 준다

반응형
Posted by 질주하는구
,