Browse Source

Update pom.xml (#876)

[BUG][#860] jar包冲突Correct the classpath of your application so that it contains a single, compatible version of javax.servlet.ServletContext
张章章 5 years ago
parent
commit
24740522e3
1 changed files with 6 additions and 0 deletions
  1. 6 0
      escheduler-common/pom.xml

+ 6 - 0
escheduler-common/pom.xml

@@ -572,6 +572,12 @@
 		<dependency>
 		<dependency>
 			<groupId>org.mortbay.jetty</groupId>
 			<groupId>org.mortbay.jetty</groupId>
 			<artifactId>jsp-2.1</artifactId>
 			<artifactId>jsp-2.1</artifactId>
+			<exclusions>
+				<exclusion>
+					<groupId>org.mortbay.jetty</groupId>
+					<artifactId>servlet-api-2.5</artifactId>
+				</exclusion>
+			</exclusions>
 		</dependency>
 		</dependency>
 	</dependencies>
 	</dependencies>