2016-05-24 4 views
-1

Ich habe ein Spring-Projekt. Die Abhängigkeiten sind wie folgt:Frühling Hibernate JPA-Projekt, das ältere Version von Abhängigkeiten in WEB-INF/lib-Ordner einfügt

compile 'org.slf4j:slf4j-api:1.7.12' 
    compile 'com.googlecode.json-simple:json-simple:1.1.1' 
    compile 'de.grundid.opendatalab:geojson-jackson:1.0' 
    compile 'org.springframework:spring-web:4.2.5.RELEASE' 
    compile 'org.springframework:spring-webmvc:4.2.5.RELEASE' 
    compile 'org.springframework:spring-jdbc:4.2.5.RELEASE' 
    compile 'org.springframework:spring-core:4.2.5.RELEASE' 
    compile 'org.springframework:spring-context:4.2.5.RELEASE' 
    compile 'org.springframework:spring-aop:4.2.5.RELEASE' 
    compile ('javax.servlet:javax.servlet-api:3.0+'){ 
      exclude module:'tomcat-servlet-api' 

    } 
    compile 'com.fasterxml.jackson.core:jackson-core:2+' 
    compile 'com.fasterxml.jackson.core:jackson-annotations:2+' 
    compile 'com.fasterxml.jackson.core:jackson-databind:2+' 
    compile 'mysql:mysql-connector-java:5+' 
    testCompile 'junit:junit:4.12' 

    compile 'cglib:cglib-nodep:2.2.2' 
    compile 'org.aspectj:aspectjrt:1.6.12' 
    compile 'org.aspectj:aspectjweaver:1.6.12' 

    compile "org.hibernate:hibernate-entitymanager:5+" 
    compile "org.hibernate:hibernate-core:5+"  
    compile "org.hibernate:hibernate-validator:5+" 

    compile 'org.springframework.data:spring-data-jpa:1+' 

    compile 'javax.el:javax.el-api:2+' 
    compile 'org.glassfish.web:javax.el:2+' 

    compile 'commons-fileupload:commons-fileupload:1.2' 
    compile 'commons-io:commons-io:2.4' 
    compile 'commons-net:commons-net:2+' 

Irgendwie während dieses Projekt Tomcatbediener bereitstellen, ältere Version von Feder Abhängigkeiten aswell injiziert werden. Der Schnappschuss des lib-Ordner des bereitgestellten Projekts ist

enter image description here

Was genau bin ich dabei? Jeder Vorschlag wäre hilfreich.

Antwort

1

Ich habe das gleiche versucht, aber es gibt keine alte Version von Abhängigkeiten injiziert. Versuchen Sie, Ihr Projekt zu bereinigen und neu zu erstellen. Gradle test project

Verwandte Themen