错误:包org.hibernate.internal不存在

时间:2014-10-22 06:31:42

标签: jboss7.x ejb-3.0 netbeans-7

我还在ejb项目中包含了这个'hibernate-core-4.0.0.Final-sources.jar'。 但'import org.hibernate.internal.SessionImpl;'在Netbeans ID 7.4中不导入包

错误:找不到符号             } else if(em.getDelegate()instanceof SessionImpl){   符号:类SessionImpl

2 个答案:

答案 0 :(得分:0)

  

我已经通过更改jboss服务器版本解决了这个问题。变   从netbans属性中的Jboss4.2到Jboss6.2。   enter image description here

答案 1 :(得分:0)

我认为你在jboss 6工作但是为你的项目选择了netbans中的jboss:P

相关问题