首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >需要帮助解决错误消息

需要帮助解决错误消息
EN

Stack Overflow用户
提问于 2014-01-24 15:03:22
回答 1查看 526关注 0票数 0

刚刚尝试部署一个.war文件并收到此错误消息。这让我感到非常惊讶,因为我在前一天刚刚部署了一个.war文件,并且两者之间的更改非常小(更改了一个跟踪天数的变量的值,直到cron作业执行为止)。我确实遗漏了IntelliJ创建的自动生成的.iml文件,这能做到吗?

代码语言:javascript
复制
'2014-01-24 08:47:45,480 [Thread-10] WARN  config.ConfigurationFactory  - No configuration found. Configuring ehcac                                              he from ehcache-failsafe.xml  found in the classpath: jar:file:/var/opt/tomcat/webapps/PerformanceEvaluations-moved                                              /WEB-INF/lib/ehcache-core-2.4.6.jar!/ehcache-failsafe.xml
''2014-01-24 08:47:46,117 [Thread-10] WARN  hibernate.AbstractEhcacheRegionFactory  - Couldn't find a specific ehca                                              che configuration for cache named [edu.wisc.radiology.performanceevaluations.Role]; using defaults.
'    ==> PerformanceEvaluations_main.log <== '2014-01-24 08:47:45,480 [Thread-10] WARN  config.ConfigurationFactory  - No configuration found. Configuring ehcac                                              he from ehcache-failsafe.xml  found in the classpath: jar:file:/var/opt/tomcat/webapps/PerformanceEvaluations-moved                                              /WEB-INF/lib/ehcache-core-2.4.6.jar!/ehcache-failsafe.xml
''2014-01-24 08:47:46,117 [Thread-10] WARN  hibernate.AbstractEhcacheRegionFactory  - Couldn't find a specific ehca                                              che configuration for cache named [edu.wisc.radiology.performanceevaluations.Role]; using defaults.
'    ==> catalina.out <==
'2014-01-24 08:47:49,046 [Thread-10] WARN  servlet.DefaultGrailsApplicationAttributes  - ApplicationContext not fou                                              nd in org.codehaus.groovy.grails.APPLICATION_CONTEXT attribute of servlet context.
' ==> PerformanceEvaluations_main.log <==
'2014-01-24 08:47:49,046 [Thread-10] WARN  servlet.DefaultGrailsApplicationAttributes  - ApplicationContext not fou                                              nd in org.codehaus.groovy.grails.APPLICATION_CONTEXT attribute of servlet context.
' ==> catalina.out <==
'2014-01-24 08:47:50,112 [Thread-10] WARN  module.ModuleDeclarationsFactory  - 'grails.resources.modules' in config                                               does not define any modules
'==> PerformanceEvaluations_main.log <==
'2014-01-24 08:47:50,112 [Thread-10] WARN  module.ModuleDeclarationsFactory  - 'grails.resources.modules' in config                                               does not define any modules
' ==> catalina.out <==
Parsing DB Changelog
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-01-24 15:54:39

我没有看到任何错误信息,只有警告。一切都是无害的。例如,关于Ehcache的内容是标准的。如果不提供自定义ehcache.xml,则默认为jar文件中的一个,并为此打印一些消息。您可以创建自己的--通常是修改后的默认文件--并将其放在类路径的根中(grails中的非Groovy文件-app/conf和src/java被复制到类路径中,因此它是一个很好的位置),因此它将被使用。这是一个好主意,在早期完成,即使您只是将默认值保存在您的文件中,以便以后更容易地进行配置。缺省值是相当保守的,例如TTL默认为2分钟。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21335863

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档