-
Notifications
You must be signed in to change notification settings - Fork 157
Fixes #219 - ThymeleafViewResolver and ThymeleafReactiveViewResolver … #243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #219 - ThymeleafViewResolver and ThymeleafReactiveViewResolver … #243
Conversation
…Resolver expose redirect prefix as bean name
@danielfernandez , I've recreated #221 without the POM change (I can't compile it without the pom.xml change).
I agree and accept the linked |
Thymeleaf 3.0.12-SNAPSHOT is actually compiled with JDK11 (in fact Thymeleaf has been built using JDK11 since 3.0.10)… are you trying to compile the current |
@danielfernandez, sorry, I said mvn -version (I've also tried it with Oracle's JDK 11.0.5)Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T21:00:29+02:00) Maven home: C:\tools\mvn\bin\.. Java version: 11.0.9.1, vendor: Amazon.com Inc., runtime: C:\Program Files\Amazon Corretto\jdk11.0.9_12 Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" mvn package on the branch 3.0-master => Failure for maven-javadoc-plugin[INFO] --- maven-javadoc-plugin:3.1.0:jar (default) @ thymeleaf-spring5 --- [INFO] Loading source files for package org.thymeleaf.spring5.context... Loading source files for package org.thymeleaf.spring5.context.webflux... ... Constructing Javadoc information... Standard Doclet version 11.0.9.1 Building tree for all the packages and classes... Generating C:\dev\icc-daimler\thymeleaf-spring\thymeleaf-spring5\target\apidocs\org\thymeleaf\spring5\ISpringTemplateEngine.html... Generating C:\dev\icc-daimler\thymeleaf-spring\thymeleaf-spring5\target\apidocs\org\thymeleaf\spring5\ISpringWebFluxTemplateEngine.html... ... Generating C:\dev\icc-daimler\thymeleaf-spring\thymeleaf-spring5\target\apidocs\org\thymeleaf\spring5\view\ThymeleafViewResolver.html... Generating C:\dev\icc-daimler\thymeleaf-spring\thymeleaf-spring5\target\apidocs\org\thymeleaf\spring5\view\reactive\ThymeleafReactiveView.html... 1 error 100 warnings [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.297 s [INFO] Finished at: 2020-12-04T09:47:48+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.0:jar (default) on project thymeleaf-spring5: MavenReportException: Error while generating Javadoc: [ERROR] Exit code: 1 - javadoc: warning - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module. [ERROR] javadoc: warning - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module. ... [ERROR] javadoc: warning - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module. [ERROR] javadoc: error - An internal exception has occurred. [ERROR] (com.sun.tools.javac.code.Symbol$CompletionFailure: class file for reactor.core.publisher.Mono not found) [ERROR] Please file a bug against the javadoc tool via the Java bug reporting page [ERROR] (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) [ERROR] for duplicates. Include error messages and the following diagnostic in your report. Thank you. [ERROR] com.sun.tools.javac.code.Symbol$CompletionFailure: class file for reactor.core.publisher.Mono not found [ERROR] [ERROR] Command line was: "C:\Program Files\Amazon Corretto\jdk11.0.9_12\bin\javadoc.exe" --no-module-directories @options @packages |
Maybe this is some issue in Amazon Coretto's Thymeleaf's official artifacts are currently being built (including javadoc) with:
And in my local system:
Compilation, javadoc and package work perfectly fine in both environments. Maven 3.5.3 is used for official releases instead of 3.6.3 because Maven 3.6 has a nasty bug that makes release deploying hang during HTTP transfer to the central repos. Maybe you could try with a different JDK build like AdoptOpenJDK's? |
@danielfernandez , yeah, the last
I'm not sure how this worked before, but it doesn't matter anymore. Thanks for your time and for merging this. |
…expose redirect prefix as bean name