grails / grails-core

The Grails Web Application Framework
http://grails.org
Apache License 2.0
2.78k stars 951 forks source link

Grails 4 RC1 running console noise #11322

Open volnei opened 5 years ago

volnei commented 5 years ago

Create a new project using grails command, run project and the console show the follow noise.

Using jdk8 on MacOs

The Class-Path manifest attribute in /Users/volnei/.gradle/caches/modules-2/files-2.1/org.glassfish.jaxb/jaxb-runtime/2.3.1/dd6dda9da676a54c5b36ca2806ff95ee017d8738/jaxb-runtime-2.3.1.jar referenced one or more files that do not exist: file:/Users/volnei/.gradle/caches/modules-2/files-2.1/org.glassfish.jaxb/jaxb-runtime/2.3.1/dd6dda9da676a54c5b36ca2806ff95ee017d8738/jaxb-api-2.3.1.jar,file:/Users/volnei/.gradle/caches/modules-2/files-2.1/org.glassfish.jaxb/jaxb-runtime/2.3.1/dd6dda9da676a54c5b36ca2806ff95ee017d8738/txw2-2.3.1.jar,file:/Users/volnei/.gradle/caches/modules-2/files-2.1/org.glassfish.jaxb/jaxb-runtime/2.3.1/dd6dda9da676a54c5b36ca2806ff95ee017d8738/istack-commons-runtime-3.0.7.jar,file:/Users/volnei/.gradle/caches/modules-2/files-2.1/org.glassfish.jaxb/jaxb-runtime/2.3.1/dd6dda9da676a54c5b36ca2806ff95ee017d8738/stax-ex-1.8.jar,file:/Users/volnei/.gradle/caches/modules-2/files-2.1/org.glassfish.jaxb/jaxb-runtime/2.3.1/dd6dda9da676a54c5b36ca2806ff95ee017d8738/FastInfoset-1.2.15.jar,file:/Users/volnei/.gradle/caches/modules-2/files-2.1/org.glassfish.jaxb/jaxb-runtime/2.3.1/dd6dda9da676a54c5b36ca2806ff95ee017d8738/javax.activation-api-1.2.0.jar
The Class-Path manifest attribute in /Users/volnei/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.1/a1a12b85ba1435b4189e065f7dafcc3fb9410d38/jaxb-impl-2.3.1.jar referenced one or more files that do not exist: file:/Users/volnei/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.1/a1a12b85ba1435b4189e065f7dafcc3fb9410d38/jaxb-runtime-2.3.1.jar,file:/Users/volnei/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.1/a1a12b85ba1435b4189e065f7dafcc3fb9410d38/txw2-2.3.1.jar,file:/Users/volnei/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.1/a1a12b85ba1435b4189e065f7dafcc3fb9410d38/istack-commons-runtime-3.0.7.jar,file:/Users/volnei/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.1/a1a12b85ba1435b4189e065f7dafcc3fb9410d38/stax-ex-1.8.jar,file:/Users/volnei/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.1/a1a12b85ba1435b4189e065f7dafcc3fb9410d38/FastInfoset-1.2.15.jar,file:/Users/volnei/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.1/a1a12b85ba1435b4189e065f7dafcc3fb9410d38/javax.activation-api-1.2.0.jar

Any ideas?

graemerocher commented 5 years ago

This seems to be an issue with spring boot devtools, I would report an issue here https://github.com/spring-projects/spring-boot/issues

niravassar commented 5 years ago

If you comment out the line developmentOnly("org.springframework.boot:spring-boot-devtools") in build.gradle the output stated above does not occur, so that seems to indicate spring-boot-devtools is involved.

Duncan-Alexander-Coutts commented 4 years ago

Hey there! Can you tell me if there has there been any progress on this?

graemerocher commented 4 years ago

Nope. I suggest filing an issue at https://github.com/spring-projects/spring-boot/issues

ghost commented 3 years ago

Hello! Has anyone already filed this issue at https://github.com/spring-projects/spring-boot/issues?

1442acb42ee0e3a727d7330e9755eb94 commented 3 years ago

I just did https://github.com/spring-projects/spring-boot/issues/23513

I think this is a rather bothersome issue, because you either have to disable spring boot devtools or you can't run grails commands.

The workaround works fine, but as I said you have to alsways comment in/out the following line

developmentOnly("org.springframework.boot:spring-boot-devtools")

I hope this bug gets a higher priority?!

Actually the problem I'm reporting is already mentoned here https://github.com/grails/grails-core/issues/11588