第一步
点击Eclipse中的help–Eclipse marketplace-进入到下一个一面在搜索框中搜索
jboss–进入下一个页面找到jboss配置
如以上页面
点击进入到下面一个页面取消全选选择有hibernate default关键字的哪一项进行完成
第一步完成
第二步
先在pom.xml配置依赖注意要把
junit
junit
4.12改成4.12
test
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
<scope>provided</scope>
</dependency>
&l