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