0
當我在STS中運行我的Grails應用程序時,出現以下錯誤。 在這之前,我嘗試不同的運行run-app:創建名爲'pluginManager'的bean時出錯
grails.servlet.version = "2.5"
我被改變從2.5到3.0,然後再從3.0變回2.5。
這發生在我運行從STS我的應用程序:
|Loading Grails 2.3.5
|Configuring classpath
.
|Environment set to development
.................................
|Packaging Grails application
.........................................................................................................2015-05-13 08:28:41,492 [main] INFO conf.Config - catalinaBase: D:\tomcat7
2015-05-13 08:28:41,492 [main] INFO conf.Config - catalinaBase: D:\tomcat7
..
|Running Grails application
|Server running. Browse to http://localhost:8080/
2015-05-13 08:29:04,495 [localhost-startStop-1] INFO conf.Config - catalinaBase: D:\tomcat7
2015-05-13 08:29:15,977 [localhost-startStop-1] ERROR context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.reflect.GenericSignatureFormatError
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.GenericSignatureFormatError
... 5 more
2015-05-13 08:29:15,979 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.reflect.GenericSignatureFormatError
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.reflect.GenericSignatureFormatError
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.GenericSignatureFormatError
... 5 more
Error |
Forked Grails VM exited with error