Results 240 comments of Scott Murphy

Adding the following to application.yml resolves `stop-app` but results in new unwanted behavior is Java 21 ``` grails> stop-app 2024-09-15T23:08:38.955-04:00 INFO 41394 --- [ Thread-12] o.apache.catalina.core.StandardService : Stopping service [Tomcat]...

@jamesfredley the wrapper now works and has the correct line endings. What caused it to be generated the previous way that did not work?

@jamesfredley yes. I have those things. if I run `gradle assemble`, I get ``` Execution failed for task ':distTar'. > Entry website-0.1/lib/jaxb-core-4.0.5.jar is a duplicate but no duplicate handling strategy...

Looks like the `stop-app` issue has already been reported https://github.com/grails-profiles/base/issues/31

@jamesfredley how is `testImplementation("org.grails.plugins:geb")` causing this in the first place? and how would adding a `duplicatesStrategy` do a distribution affect/fix something specific to the test environment?

@jdaugherty this issue is actually **much deeper** and no long think it has to do with UrlMappings grailsApplication.getArtefactByLogicalPropertyName('Controller', 'user') is not returning the primary controller and is resolving the controller...

Unfortunately, at this point, it seems random perhaps based on startup class loading order. If I run multiple instances of the same jar, I get different behavior. Specifically ```groovy grailsApplication.getArtefactByLogicalPropertyName('Controller',...

I believe this is a result of class loading order that changed in M4. # Example App: https://github.com/codeconsole/namespacebug https://github.com/apache/grails-core/blob/1ed250d77ad922dc6d82e8f214e7d305341e6b6f/grails-core/src/main/groovy/grails/core/DefaultGrailsApplication.java#L770-L773 https://github.com/apache/grails-core/blob/1ed250d77ad922dc6d82e8f214e7d305341e6b6f/grails-core/src/main/groovy/grails/core/DefaultArtefactInfo.java#L115-L117 https://github.com/apache/grails-core/blob/1ed250d77ad922dc6d82e8f214e7d305341e6b6f/grails-core/src/main/groovy/grails/boot/config/GrailsApplicationPostProcessor.groovy#L123-L132

I am still troubleshooting this, but I am not using a shadow jar or exploded jar file.

> > def index() provides "${entityName.uncapitalize()Count}" to index.gsp > > With which version of Grails does index() provide that? @jeffscottbrown All of them. That logic has been part of the...