grails开发的时候注意这些错误不是你代码的问题
raodun
2009-05-26
一、org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.codehaus.groovy.grails.plugins.web.taglib.ApplicationTagLib': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsUrlMappingsHolder': Cannot resolve reference to bean 'urlMappingsTargetSource' while setting bean property 'targetSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'urlMappingsTargetSource': Cannot resolve reference to bean 'grailsUrlMappingsHolderBean' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsUrlMappingsHolderBean': Invocation of init method failed; nested exception is java.lang.RuntimeException: mappings closure does not exists for class UrlMappings 解决办法:清缓存 二、 |
相关讨论
相关资源推荐
- 14. Spring Boot 2.x 最佳实践之 Spring Security 集成
- Spring Cloud 中间件在 Kubernetes 上的最佳实践
- Spring常用注解(绝对经典)
- 【IstioCon 2021】最佳实践:从Spring Cloud 到 Istio
- 单元测试实践(SpringCloud+Junit5+Mockito+DataMocker)
- Spring Batch在大型企业中的最佳实践
- SpringBoot 最佳实践
- Spring最佳实践 –Spring 提供的远程访问(一)
- Spring Data Jpa最佳实践
- OAuth2在开源SpringBoot/SpringCloud微服务框架的最佳实践