ejb3-persistent-1.0.2GA.jar和hibernate-jpa-2.0-API-1.0.0-Final.jar包冲突 buildpath中删掉ejb3-persistent-1.0.2GA.jar包即可