0
我有一個項目,我沒有碰過了一段時間,當我執行run-app命令我碰到下面的錯誤:Grails項目拋出UnmodifiableMap空
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>
所以現在我不知道如何找出錯誤來自哪裏。任何想法或建議都會很棒。 謝謝!
grails如何清潔? –
Aaaaaand我是個白癡。非常感謝,現在工作得很好。應該想到的是第一個>。> – olkoza
很高興你把它整理出來。添加它作爲答案,所以我們可以關閉這個問題。 –