zoukankan      html  css  js  c++  java
  • SpringMVC笔记

    java.lang.ClassNotFoundException: org.hibernate.service.jta.platform.spi.JtaPlatform

    上面这个错误的意思大抵是,hibernate低版本的时候是集成的JtaPlatform,但现在高版本的hibernate是不集成这个东西的,所以使用的时候就会报找不到类。

    解决方案是:修改pom.xml中hibernate-corespring-core的版本,当然Spring的可改可不改,和它没太大关系。修改后版本如下:

    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-core</artifactId>
        <version>4.2.11.Final</version>
    </dependency>
    
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-core</artifactId>
        <version>3.2.8.RELEASE</version>
    </dependency>
  • 相关阅读:
    ui5 call view or method from another view
    vuejs helloworld
    vuejs v-model
    vuejs v-bind
    vuejs on
    vuejs fatherandson
    vuejs scope
    vuejs keep-alive
    VLAN虚拟局域网
    网线的制作
  • 原文地址:https://www.cnblogs.com/wpcnblog/p/6419747.html
Copyright © 2011-2022 走看看