jdaugherty
09/03/2025, 8:08 PMrss
09/04/2025, 6:34 PMArjang
09/07/2025, 2:03 PMWARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by org.fusesource.hawtjni.runtime.Library in an unnamed module (file:/.../.sdkman/candidates/grails/7.0.0-RC1/lib/grails-cli-7.0.0-RC1-all.jar)
Should i suppress it? I am not sure what is correct action is.matt.aguirre
09/08/2025, 7:43 PMuser
09/12/2025, 8:55 AM<!doctype html>
<html>
<head>
<meta name="layout" content="logged"/>
</head>
<body>
<sec:access expression="!hasRole('ROLE_ESERCENTE')">
<g:include controller="domanda" action="index"/>
</sec:access>
<sec:access expression="hasRole('ROLE_ESERCENTE')">
<g:include controller="domanda" action="index"/>
</sec:access>
</body>
</html>
and logged.gsp like this
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<title><g:layoutTitle default="Taxcredit"/></title>
<script nonce="${request.getAttribute('cspNonce')}">window.__PUBLIC_PATH__ = '${createLink(uri: '/')}' + 'assets/fonts'</script>
<asset:stylesheet src="application.css"/>
<script src="<https://cdn.jsdelivr.net/npm/autonumeric@4.1.0>"></script>
<asset:javascript src="application.js"/>
<link href="<https://cdn.datatables.net/v/dt/dt-2.3.4/r-3.0.6/sc-2.4.3/datatables.min.css>" rel="stylesheet" crossorigin="anonymous">
%{-- <script type="text/javascript" src="<https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.min.js>"></script>--}%
%{-- <script type="text/javascript" src="<https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js>"></script>--}%
<script src="<https://cdn.datatables.net/v/dt/dt-2.3.4/r-3.0.6/sc-2.4.3/datatables.min.js>" crossorigin="anonymous"></script>
<asset:link rel="shortcut icon" href="favicon_32_mibact.png" type="image/x-icon"/>
<g:layoutHead/>
</head>
<body class="logged">
.......
but the result html is
<!doctype html>
<html>
<grailsLayout:captureHead>
<grailsLayout:captureMeta gsp_sm_xmlClosingForEmptyTag="/" name="layout" content="logged"/>
</grailsLayout:captureHead>
<grailsLayout:captureBody>
<html>
<grailsLayout:captureHead>
<grailsLayout:wrapTitleTag><grailsLayout:captureTitle>Domanda Elenco</grailsLayout:captureTitle></grailsLayout:wrapTitleTag>
<grailsLayout:captureMeta gsp_sm_xmlClosingForEmptyTag="/" name="layout" content="logged"/>
</grailsLayout:captureHead>
<grailsLayout:captureBody>
It doesn’t seem to loading javascript and css from head… With M5 release it works.user
09/12/2025, 9:12 AMStephen Lynch
09/12/2025, 10:29 AMArjang
09/13/2025, 1:44 PMgrails> stop-app --stacktrace
| Shutting down application...
| Error Application not running. (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
java.io.FileNotFoundException: <http://localhost:8080/actuator/shutdown>
at stop-app.run(stop-app.groovy:87)
at org.grails.cli.profile.commands.script.GroovyScriptCommand.handle(GroovyScriptCommand.groovy:156)
at org.grails.cli.profile.AbstractProfile.handleCommand(AbstractProfile.groovy:478)
at org.grails.cli.GrailsCli.handleCommand(GrailsCli.groovy:364)
at org.grails.cli.GrailsCli$_handleCommandWithCancellationSupport_closure6.doCall(GrailsCli.groovy:455)
<===========--> 90% EXECUTING [6m 13s]
| Error Application not running.
grails>
Arjang
09/14/2025, 12:34 AMJames Fredley
09/14/2025, 12:45 AMlraynal
09/17/2025, 2:15 PMexpected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
lraynal
09/17/2025, 2:21 PMbillgonemad
09/17/2025, 8:07 PMgrails.gorm.default.mapping = {
autowire true
}
but it doesn't appear to be getting picked up and the beans are not being injected into the domain class. Adding to the mapping block on the domain appears to work however.James Fredley
09/17/2025, 9:50 PMJames Fredley
09/17/2025, 10:35 PMJames Fredley
09/17/2025, 10:35 PMuser
09/18/2025, 9:53 AMuser
09/18/2025, 10:01 AMuser
09/18/2025, 10:03 AMMarc Fishman
09/18/2025, 4:00 PMwhere
queries, as namedQueries are deprecated and not supported in Grails 6+ (from my understanding), but we're finding the lack of ability to chain them together really limiting.
I'm curious if others have any similar experience or alternative suggestions. I've gone through lengthy discussions with ChatGPT and was kind of disappointed with the results. Any thoughts, ideas, or best practices welcome!Stephen Lynch
09/18/2025, 8:16 PMuser
09/21/2025, 6:34 PMbootWar {
from('grails-app/views') {
into 'WEB-INF/grails-app/views'
}
}
user
09/21/2025, 6:39 PMuser
09/22/2025, 2:16 PMbillgonemad
09/22/2025, 2:58 PM|Generating SSL certificate
Warning |
Unable to automatically generate SSL certificate, manual configuration required. Set 'server.ssl.key-store' in application.yml
Paul Trudel
09/24/2025, 6:52 PMCannot resolve reloading agent JAR: Failed to resolve imported Maven boms: Could not find org.grails:grails-bom:7.0.0-RC2
These repos only have BOM versions up to 7.0.0-M3
https://repo.grails.org/ui/native/core/org/grails/grails-bom/
https://repo.maven.apache.org/maven2/org/grails/grails-bom/
Is there another repo that I need to add to my build.gradle
that contains these artifacts?rss
09/24/2025, 9:04 PMmuser
09/25/2025, 8:25 PMJames Fredley
09/25/2025, 9:34 PMpablo.pazos
09/27/2025, 6:07 AM