Fix ClassNotFound starting Hibernate

This commit is contained in:
Paulo Gustavo Veiga 2020-11-07 14:42:00 -08:00
parent e4af8acdc2
commit c230fb4f3e
2 changed files with 8 additions and 19 deletions

View File

@ -31,7 +31,6 @@
<org.springframework.version>5.2.10.RELEASE</org.springframework.version> <org.springframework.version>5.2.10.RELEASE</org.springframework.version>
<org.springframework.addons>5.2.5.RELEASE</org.springframework.addons> <org.springframework.addons>5.2.5.RELEASE</org.springframework.addons>
<hibernate.version>5.4.23.Final</hibernate.version> <hibernate.version>5.4.23.Final</hibernate.version>
</properties> </properties>
<dependencies> <dependencies>
@ -104,16 +103,18 @@
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<!-- Hibernate --> <!-- Hibernate -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.hibernate</groupId> <groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId> <artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version> <version>${hibernate.version}</version>
</dependency> </dependency>
<!-- Hibernate Validator -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>6.0.21.Final</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId> <artifactId>spring-orm</artifactId>
@ -209,18 +210,6 @@
<version>${org.springframework.version}</version> <version>${org.springframework.version}</version>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.6.0.Final</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.6.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>aopalliance</groupId> <groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId> <artifactId>aopalliance</artifactId>

View File

@ -74,7 +74,7 @@
<property name="viewClass" value="org.springframework.web.servlet.view.tiles3.TilesView"/> <property name="viewClass" value="org.springframework.web.servlet.view.tiles3.TilesView"/>
</bean> </bean>
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer"> <bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles3.TilesConfigurer">
<property name="definitions"> <property name="definitions">
<list> <list>
<value>/WEB-INF/defs/definitions.xml</value> <value>/WEB-INF/defs/definitions.xml</value>