You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Qute does not resolve a method properly to be invoked from an injected bean
Expected behavior
The method in the injected bean is invoked
Actual behavior
The following error is thrown during the build
io.quarkus.qute.TemplateException: Incorrect expression found: {inject:prettyTime.format(stats.updated)}
- property/method [format(stats.updated)] not found on class [org.ocpsoft.prettytime.PrettyTime] nor handled by an extension method
- at StatusResource/issues.html:17
at io.quarkus.qute.deployment.QuteProcessor.processTemplateErrors(QuteProcessor.java:173)
Describe the bug
Qute does not resolve a method properly to be invoked from an injected bean
Expected behavior
The method in the injected bean is invoked
Actual behavior
The following error is thrown during the build
To Reproduce
Steps to reproduce the behavior:
pretty_time
mvn clean compile quarkus:dev
Configuration
# Add your application.properties here, if applicable.
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
uname -a
orver
: Fedora 33java -version
: JDK 11mvnw --version
orgradlew --version
): Maven 3.6.3The text was updated successfully, but these errors were encountered: