I have uploaded my pom file here
https://www.dropbox.com/s/ryuetva8gintpf5/pom.xml?dl=0
I am seeing a lot of strange errors, one of them being this Multiple ContextLoader definitions in web.xml and I was wondering if there is a mismatch in my Spring version between core, mvc, security etc which is causing this. I don't know too much about which version is compatible with what so if someone can review my pom file and let me know if there are any compatibility issues with my pom.xml that would be great.
Please just copy paste your pom.xml
in here, it will be more easier to reviewed.
Actually, you could use spring initializr to save your life for manage spring dependency, but from your pom.xml
I found some mistake, you initialize a dependency version with variable but I could see you declare the name of your variable.
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
So, either you define your variable name in <properties>
.
<properties>
<spring.version>4.2.4.RELEASE</spring.version>
</properties>
Or, you could declare your spring version like this.
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.2.4.RELEASE</version>
</dependency>
My advice choose one method, and keep up with it for the sake of easy maintenance
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.