Closed orelinde closed 1 year ago
Thanks @orelinde, that's definitely a bug.
Should be fixed here, please have a look: https://github.com/javalin/javalin-rendering/commit/a2a938d6d0f69111e018da416c80fd29f603a6ee
Hi @tipsy , I checked out the code locally and tested with 5.3.1-SNAPSHOT and the rendering works again. I only get two Log entries telling me that .jte and .kte are already registered (I haven't seen those before)
Glad it's working! The warning is because 5.3.0 will load them automatically, you can remove your "init" call ☺️
That works! I removed the init call and those two lines don't appear anymore. Thank you for your fast reply and fix! 😄
And thank you for reporting! ☺️
Hi @tipsy, Thank you for the quick fix :) I confirm too that the javalin-rendering-5.3.1-SNAPSHOT.jar is working fine by me locally. Did not come across the info messages like orelinde did, I think because I am calling the init from within the Javalin.create.
Thanks for testing!
I think because I am calling the init from within the Javalin.create.
You are correct, the warning will only be shown if init is called after Javalin has been started :)
This has been released in 5.3.1 now !
Actual behavior (the bug) When using javalin-renderer 5.3.0 in combination with the JTE renderer. It requires me to add all "missing dependencies" of all the other renderers (commonmark, markdown....)
Expected behavior should work like in 5.2.0
To Reproduce Steps to reproduce the behaviour: POM.xml
In Main
in /src/main/jte/helloworld.jte
Additional context When i downgrade the javalin-rendering version from 5.3.0 -> 5.2.0 everything works as expected.