gpt4 book ai didi

java - 错误 context.ContextLoader - 上下文初始化失败

转载 作者:太空宇宙 更新时间:2023-11-04 07:30:08 24 4
gpt4 key购买 nike

我在 GGTS 中将项目从 1.3.7 升级到 2.2.1。运行项目时出现以下错误:

| Error 2013-07-26 13:28:09,778 [localhost-startStop-1] ERROR context.ContextLoader  - Context initialization failed
Message: org.springframework.context.support.AbstractRefreshableConfigApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
Line | Method
->> 334 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 166 | run in java.util.concurrent.FutureTask
| 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 603 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 679 | run . . . in java.lang.Thread
| Error 2013-07-26 13:28:09,819 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: org.springframework.context.support.AbstractRefreshableConfigApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
Message: org.springframework.context.support.AbstractRefreshableConfigApplicationContext.getEnvironment()Lorg/springframework/core/env/ConfigurableEnvironment;
Line | Method
->> 334 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 166 | run in java.util.concurrent.FutureTask
| 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 603 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 679 | run . . . in java.lang.Thread

最佳答案

升级项目后,我在 GGTS 中遇到了类似的问题。尝试使用命令行启动项目:

grails run-app

如果它有效,那么您必须升级 GGTS本身到最后一个版本。

关于java - 错误 context.ContextLoader - 上下文初始化失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17853997/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com