Skip to content

Commit 8e44c5d

Browse files
committed
Fixing: Error: Could not find or load main class
org.apache.maven.surefire.booter.ForkedBooter
1 parent cf6768a commit 8e44c5d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,14 @@
546546
<artifactId>maven-dependency-plugin</artifactId>
547547
<version>2.4</version>
548548
</plugin>
549+
<plugin>
550+
<groupId>org.apache.maven.plugins</groupId>
551+
<artifactId>maven-surefire-plugin</artifactId>
552+
<version>2.22.1</version>
553+
<configuration>
554+
<argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
555+
</configuration>
556+
</plugin>
549557
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
550558
<plugin>
551559
<groupId>org.eclipse.m2e</groupId>

0 commit comments

Comments
 (0)