我有一个好久没碰的项目,执行run-app命令时出现如下错误:
grails> run-app
| Running Grails application
Error |
2014-03-12 13:20:34,741 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: null
Message: null
Line | Method
->> 1342 | put in java.util.Collections$UnmodifiableMap
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 22 | doCall in elektrova.Disponent$__clinit__closure1
| 262 | run . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 744 | run in java.lang.Thread
Error |
2014-03-12 13:20:34,791 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing Grails: null
Message: null
Line | Method
->> 1342 | put in java.util.Collections$UnmodifiableMap
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 22 | doCall in elektrova.Disponent$__clinit__closure1
| 262 | run . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 744 | run in java.lang.Thread
Error |
2014-03-12 13:20:34,821 [localhost-startStop-1] ERROR [localhost].[/ElektroVA] - Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
Message: Error executing bootstraps; nested exception is java.lang.UnsupportedOperationException
Line | Method
->> 262 | run in java.util.concurrent.FutureTask
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 744 | run in java.lang.Thread
Caused by UnsupportedOperationException: null
->> 1342 | put in java.util.Collections$UnmodifiableMap
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 22 | doCall in elektrova.Disponent$__clinit__closure1
| 262 | run . . . in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 744 | run in java.lang.Thread
Error |
2014-03-12 13:20:34,837 [localhost-startStop-1] ERROR core.StandardContext - Error listenerStart
Error |
2014-03-12 13:20:34,873 [localhost-startStop-1] ERROR core.StandardContext - Context [/ElektroVA] startup failed due to previous errors
| Server running. Browse to http://localhost:8080/ElektroVA
| Application loaded in interactive mode. Type 'stop-app' to shutdown.
| Enter a script name to run. Use TAB for completion:
grails>
所以现在我不知道如何找出错误来自哪里。任何想法或建议都会很棒。谢谢!