thymeleaf / thymeleafexamples-layouts

Layouts - Companion application for the "Thymeleaf Layouts" article at the Thymeleaf website: http://www.thymeleaf.org/documentation.html http://www.thymeleaf.org
Apache License 2.0
245 stars 174 forks source link

Application does not compile in Java 11 #8

Open danielfernandez opened 5 years ago

danielfernandez commented 5 years ago

When using JDK 11 to try to compile and start this application, it fails stating:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/daniel/Workspace/thymeleaf/thymeleafexamples-layouts/src/main/java/thymeleafexamples/layouts/account/AccountService.java:[19,23] error: package javax.annotation does not exist
[ERROR] /Users/daniel/Workspace/thymeleaf/thymeleafexamples-layouts/src/main/java/thymeleafexamples/layouts/task/TaskService.java:[5,23] error: package javax.annotation does not exist
[ERROR] /Users/daniel/Workspace/thymeleaf/thymeleafexamples-layouts/src/main/java/thymeleafexamples/layouts/account/AccountService.java:[32,2] error: cannot find symbol
[ERROR]  class AccountService
/Users/daniel/Workspace/thymeleaf/thymeleafexamples-layouts/src/main/java/thymeleafexamples/layouts/task/TaskService.java:[16,5] error: cannot find symbol
[INFO] 4 errors
aloon commented 2 years ago

for me in java8 or java11 java.lang.NoClassDefFoundError: org/apache/maven/doxia/siterenderer/DocumentContent