Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0-RC1
-
Fix Version/s: None
-
Component/s: Build System
-
Labels:None
-
Environment:CXF plugin
Spock plugin
-
Testcase included:yes
Description
Grails rage quits every time the app tries to start with:
| Loading Grails 2.0.0.RC1 |
| Configuring classpath |
| Configuring classpath. |
| Environment set to development |
| Environment set to development. |
| Environment set to development.. |
| Environment set to development... |
| Environment set to development.... |
| Environment set to development..... |
| Packaging Grails application |
| Packaging Grails application. |
| Packaging Grails application.. |
| Compiling 37 source files |
| Compiling 37 source files. | ||
| Compiling 37 source files.. | ||
| Compiling 1 source files | ||
| Compiling 1 source files. | ||
| Compiling 1 source files.. | ||
| Compiling 11 source files | ||
| Compiling 11 source files. | ||
| Compiling 11 source files.. | ||
| Compiling 11 source files... | ||
| Compiling 11 source files.... | ||
| Compiling 11 source files.... | ||
| Compiling 11 source files..... | ||
| Running Grails application | ||
| Error 2011-10-25 14:01:39,572 [Thread-9] ERROR context.GrailsContextLoader - Error executing bootstraps: Error creating bean with name 'grailsApplicationPostProcessor': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationUtils.getAnnotation(Ljava/lang/reflect/AnnotatedElement;Ljava/lang/Class;)Ljava/lang/annotation/Annotation; Message: Error creating bean with name 'grailsApplicationPostProcessor': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationUtils.getAnnotation(Ljava/lang/reflect/AnnotatedElement;Ljava/lang/Class;)Ljava/lang/annotation/Annotation; Line |
Method ->> 303 |
innerRun in java.util.concurrent.FutureTask$Sync
|
| 138 | run in java.util.concurrent.FutureTask | |
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker | |
| 908 | run in '' ^ 662 |
run . . in java.lang.Thread |
Caused by NoSuchMethodError: org.springframework.core.annotation.AnnotationUtils.getAnnotation(Ljava/lang/reflect/AnnotatedElement;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
138 run in java.util.concurrent.FutureTask 886 runTask in java.util.concurrent.ThreadPoolExecutor$Worker 908 run in ''
^ 662run . . in java.lang.Thread
Cleaning and rebuilding do not help. Maybe because CXF plugin pulls in old version of Spring? (3.0.4) See attached example for more info.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits