无法导入org.hibernate.session [英] cannot import org.hibernate.session
问题描述
我在我的eclipse上安装了wildfly 8.1,并想将我的旧项目从jboss 4.2移到新的项目。有一个问题, import org.hibernate.Session;
无法在WildFly 8上解决。
有人可以提出任何可能的解决方案吗?
WildFly class loading)与JBoss 4.2相比有所不同。如果你想使用Hibernate,比你需要显式依赖 通过 相关参考章节可以在 here 。 I installed wildfly 8.1 to my eclipse and wanted to move my old project from jboss 4.2 to new one. There is a problem that WildFly class loading is different comparing to JBoss 4.2. If you want to use Hibernate, than you'll need an explicit dependency on One way of defining this is via a Related reference section can be found here. 这篇关于无法导入org.hibernate.session的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! org.hibernate
模块。
MAINFEST.MF 中的
Dependencies
code $:b
$ b $ $ p $ $ $ $ $ $ $
依赖关系:org。 hibernate
import org.hibernate.Session;
cannot be resolwed on WildFly 8.
can someone suggest any possible solutions?org.hibernate
module. Dependencies
entry in MAINFEST.MF
:Manifest-Version: 1.0
...
Dependencies: org.hibernate