gpt4 book ai didi

grails - 需要帮助解决错误消息

转载 作者:行者123 更新时间:2023-12-02 15:00:55 24 4
gpt4 key购买 nike

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

'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

最佳答案

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

关于grails - 需要帮助解决错误消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21335863/

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