Skip to content

Commit

Permalink
Add explicit javax.annotation
Browse files Browse the repository at this point in the history
This avoids an exception with modern Java versions:

Exception in thread "main" com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: javax/annotation/Resource
  • Loading branch information
gaul committed Mar 7, 2021
1 parent 94f19b0 commit 29413b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -446,5 +446,10 @@
<version>6.8.21</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</project>

0 comments on commit 29413b1

Please sign in to comment.