Skip to content

Commit 1cde04f

Browse files
committed
SPARK-6205 [CORE] UISeleniumSuite fails for Hadoop 2.x test with NoClassDefFoundError
Add xml-apis to core test deps to work aroudn UISeleniumSuite classpath issue Author: Sean Owen <[email protected]> Closes #4933 from srowen/SPARK-6205 and squashes the following commits: ddd4d32 [Sean Owen] Add xml-apis to core test deps to work aroudn UISeleniumSuite classpath issue
1 parent 728c1f9 commit 1cde04f

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

core/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,12 @@
319319
<artifactId>selenium-java</artifactId>
320320
<scope>test</scope>
321321
</dependency>
322+
<!-- Added for selenium: -->
323+
<dependency>
324+
<groupId>xml-apis</groupId>
325+
<artifactId>xml-apis</artifactId>
326+
<scope>test</scope>
327+
</dependency>
322328
<dependency>
323329
<groupId>org.mockito</groupId>
324330
<artifactId>mockito-all</artifactId>

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,13 @@
422422
<version>2.42.2</version>
423423
<scope>test</scope>
424424
</dependency>
425+
<!-- Added for selenium only, and should match its dependent version: -->
426+
<dependency>
427+
<groupId>xml-apis</groupId>
428+
<artifactId>xml-apis</artifactId>
429+
<version>1.4.01</version>
430+
<scope>test</scope>
431+
</dependency>
425432
<dependency>
426433
<groupId>org.slf4j</groupId>
427434
<artifactId>slf4j-api</artifactId>

0 commit comments

Comments
 (0)