`
koudailidexiaolong
  • 浏览: 96127 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

Error creating bean with name \'claimVoucherInfoServiceImpl\' defined in class path resource [applicationcontext.xml]

 
阅读更多

当集成 SHH框架的时候当配置tomcat服务器以后 启动报

Error creating bean with name 'claimVoucherInfoServiceImpl' defined in class path resource [applicationcontext.xml]

..........

解决办法:

1:首先检查 struts.xml里配置的action节点 如果你的action的属性class不能为全限定名如(com.dragon.action.xxxAction)

要写成你的Spring配置文件里的名称 bean 的id属性 (当然必须关联)

2.:看看是否有单词写错或者漏泄字母之类的 是否存在此类

3:这是我遇到的问题 我的问题是自己的biz(service)继承leHibernateDaOSupport 导致的以上问题的出现 删了后重新部署就好了

原因是 biz只是业务层 不用继承什么类这个应该是dao层的事情 一时混淆了错了呵呵 !!!

希望以上能对您有所帮助!!谢谢

<wbr></wbr>

分享到:
评论

相关推荐

    org.springframework.web.servlet-3.0.1.RELEASE-A.jar

    Error creating bean with name 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0' defined in ServletContext resource [/WEB-INF/springMVC-servlet.xml]: Initialization of bean failed;...

    asm5.0.jar

    Error creating bean with name 'sqlSessionFactory' defined in URL [file:/E:/cloudwave-core/src/main/webapp/WEB- INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception ...

    com.springsource.org.objectweb.asm-3.2.0.jar

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customAreaService' defined in class path resource [applicationContext.xml]: Initialization of bean failed;...

    weblogic.xml配置详解

    ### WebLogic.xml配置详解 #### 一、概述 `weblogic.xml` 文件是 WebLogic Server 应用服务器中专门用于自定义和配置部署在该服务器上的 Web 应用程序的一个重要配置文件。它允许开发人员和系统管理员针对 ...

    error LNK2005: DllMain already defined in corelibc.lib(dllmain.obj)

    error LNK2005: DllMain already defined in corelibc.lib(dllmain.obj)的解决方案

    Python中对错误NameError: name ‘xxx’ is not defined进行总结

    错误NameError: name ‘xxx’ is not defined总结情况一:要加双引号(” “)或者(’ ‘)而没加情况二:字符缩进格式的问题情况三:`if __name__==’__main__’ :` 没有和`class类`进行对齐情况四:NameError: ...

    spring框架进行简单的增加操作出现的错误,解决方法

    cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [EmployeeSpring.xml]: Initialization of ...

    C++经典错误之already defined in *****.obj解决方法

    C++经典错误之already defined in *.obj解决方法 C++经典错误之already defined in *.obj解决方法是一种常见的链接错误,发生在编译器链接阶段。该错误的典型症状是:在链接阶段,编译器报告多个符号已经定义,例如...

    解决SpringDataJPA报错:org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null w

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/...

    Maven解决jar冲突调试步骤

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in ServletContext resource [/WEB-INF/spring/tbm_web_shiro.xml]: Cannot resolve reference to...

    servlet2.4doc

    Returns the object bound with the specified name in this session, or null if no object is bound under the name. getAttributeNames() - Method in interface javax.servlet.ServletContext Returns an ...

    weblogic.xml说明

    例如,`&lt;role-name&gt;`指定角色名称,`&lt;principal-name&gt;`定义域内的用户或组,而`&lt;externally-defined/&gt;`表示角色是在安全域的外部定义的。 4. **run-as-role-assignment**:此元素允许指定Web应用运行时使用的安全...

    S2SH整合报错

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed;...

    spring-framework-reference4.1.4

    XML shortcut with the p-namespace .......................................................... 44 XML shortcut with the c-namespace .......................................................... 46 Compound...

    SSH整合项目中容易出现的错误

    Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/...

    基于springboot+mybatis实现的外卖订餐系统源码+项目说明(毕设).zip

    Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method ...

    constructor name is not defined(解决方案).md

    constructor name is not defined(解决方案).md

    struts2驱动包

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested ...

Global site tag (gtag.js) - Google Analytics