Thomas Rasmussen
06/11/2025, 10:23 AMpaulk_asert
06/11/2025, 10:38 AMThomas Rasmussen
06/11/2025, 1:04 PMapply plugin: 'org.grails.plugins.views-markup'
But that is no longer valid, I tried changing it to Apache (multiple combinations) but that doesn't work either?...
apply plugin: 'org.apache.plugins.views-markup'
and adding to the classpath but no luck:
buildscript {
...
dependencies {
...
classpath "org.apache.grails:grails-views-markup:$grailsVersion"
}
...
}
sbglasius
06/11/2025, 1:08 PMmavenCentral()
in your repositories
list?Thomas Rasmussen
06/11/2025, 1:09 PMThomas Rasmussen
06/11/2025, 1:10 PMgrails-gsp
and grails-web
plugins works fine
apply plugin:"org.apache.grails.gradle.grails-gsp"
sbglasius
06/11/2025, 1:16 PMsbglasius
06/11/2025, 1:16 PM<http://start.grails.org|start.grails.org>
project with feature: markup-view I get:
Build file '/home/sbglasius/projects/sandbox/grails/demo/build.gradle' line: 25
A problem occurred evaluating root project 'demo'.
> Failed to apply plugin 'org.apache.grails.gradle.grails-markup'.
> Could not create task ':compileGmlViews'.
> Could not create task of type 'MarkupViewCompilerTask'.
> Cannot invoke "org.gradle.api.provider.Property.convention(Object)" because "this.fileExtension" is null
Thomas Rasmussen
06/11/2025, 1:23 PMapply plugin: "org.apache.grails.gradle.grails-markup"
And yes it looks af if ther is an issue...James Fredley
06/11/2025, 3:11 PMsbglasius
06/11/2025, 3:14 PMjdaugherty
06/13/2025, 4:54 AMThomas Rasmussen
06/13/2025, 2:01 PMCannot invoke "org.gradle.api.provider.Property.convention(Object)" because "this.fileExtension" is null
Now I get this one (on a clean project from start.grails.org with the markup views plugin added):
demo/grails-app/views/object/_object.gml: 7: [Static type checking] - Cannot find matching method java.lang.Object#render(java.lang.String). Please check if the declared type is correct and if the method exists.
@ line 7, column 1.
g.render("object")
^
1 error
Something is not being initialized correct but I can't figure out why?...
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'markupViewResolver': Cannot resolve reference to bean 'smartMarkupViewResolver' while setting constructor argument
jdaugherty
06/13/2025, 2:01 PMjdaugherty
06/13/2025, 2:02 PMThomas Rasmussen
06/13/2025, 2:15 PMjdaugherty
06/13/2025, 2:15 PMThomas Rasmussen
06/13/2025, 2:17 PMgrails:
views:
markup:
compileStatic: false
jdaugherty
06/13/2025, 2:18 PMjdaugherty
06/13/2025, 3:36 PMjdaugherty
06/13/2025, 3:36 PMjdaugherty
06/13/2025, 3:36 PMjdaugherty
06/13/2025, 3:37 PMjdaugherty
06/13/2025, 3:37 PM