We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Following does not work. Give error: java.lang.IllegalArgumentException: Could not resolve view with name 'hello'
java.lang.IllegalArgumentException: Could not resolve view with name 'hello'
val app = reactiveWebApplication { webFlux { codecs { string() jackson() } coRouter { (GET("/hello") and accept(MediaType.TEXT_HTML)) { ok().renderAndAwait("hello") } } } } fun main(args: Array<String>) { app.run(args) }
I set up a debug point at FreeMarkerAutoConfiguration but its not loading.
FreeMarkerAutoConfiguration
But This works:
@SpringBootApplication class PasteApplication fun main(args: Array<String>) { runApplication<PasteApplication>(*args) } @Controller class Foo { @GetMapping("/hello") fun bar(): String { return "hello" } }
May be I am missing some configuration. Please help.
The text was updated successfully, but these errors were encountered:
Seems like we need to create initializer for FreeMarker like already done for Mustache.
Sorry, something went wrong.
Reopening issue to add such support.
No branches or pull requests
Following does not work. Give error:
java.lang.IllegalArgumentException: Could not resolve view with name 'hello'
I set up a debug point at
FreeMarkerAutoConfiguration
but its not loading.But This works:
May be I am missing some configuration. Please help.
The text was updated successfully, but these errors were encountered: