79380593

Date: 2025-01-23 10:12:21
Score: 1.5
Natty:
Report link

@barfuin answer is working for me, I had to use equivalent maven config:

<plugins>
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${maven-surefire-plugin.version}</version>
        <configuration>
            <dependenciesToScan>
                <dependency>org.junit.jupiter</dependency>
            </dependenciesToScan>
            <argLine>-Xshare:off</argLine>
        </configuration>
    </plugin>
</plugins>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @barfuin
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: ElectroBuddha