Skip to content

Commit

Permalink
[fix] warning: unknown enum constant When.MAYBE caused by missing JSR…
Browse files Browse the repository at this point in the history
…305 implementation

This warning is caused by the javax.annotation.meta.When enum not being available to the runtime and org.springframework.lang.Nullable references this enum but it is not made available automatically.
  • Loading branch information
xhaggi committed Apr 17, 2024
1 parent 3c872fa commit c144e76
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions htmx-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<optional>true</optional>
<version>3.0.2</version>
</dependency>
</dependencies>

</project>

0 comments on commit c144e76

Please sign in to comment.