Skip to content

Commit

Permalink
Fixes ByteBuddy AbstractMethodError which could occur when running te…
Browse files Browse the repository at this point in the history
…sts from the IDE
  • Loading branch information
JonasKunz committed Sep 20, 2023
1 parent e968cf3 commit e2c7164
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -721,12 +721,24 @@
<artifactId>assertj-core</artifactId>
<version>3.24.2</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId> <!-- conflicts with byte-buddy-dep -->
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${version.mockito}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId> <!-- conflicts with byte-buddy-dep -->
</exclusion>
</exclusions>
</dependency>
<dependency>
<!-- adding this to classpath allows to keep default behavior of mockito 4.x where mock subclassing is used. -->
Expand Down Expand Up @@ -756,7 +768,7 @@
<dependency>
<groupId>net.javacrumbs.json-unit</groupId>
<artifactId>json-unit-assertj</artifactId>
<version>2.37.0</version>
<version>3.2.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit e2c7164

Please sign in to comment.