严重:异常将上下文初始化事件发送到类的侦听器实例.[] 以解决

时间:2025-02-13 07:24:00
严重: 异常将上下文初始化事件发送到类的侦听器实例.[]
: Error creating bean with name 'clazzAddressController': Unsatisfied dependency expressed through field 'clazzAddressService'; nested exception is : Error creating bean with name 'clazzAddressServiceImpl': Unsatisfied dependency expressed through field 'clazzAddressDao'; nested exception is : Error creating bean with name 'clazzAddressDao' defined in file [C:\developer_tools\apache-tomcat-7.0.100-windows-x64\apache-tomcat-7.0.100\webapps\BaseProjectSSM\WEB-INF\classes\com\ischoolbar\programmer\dao\admin\]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is : Error creating bean with name 'sqlSessionFactory' defined in class path resource [config/spring/]: Invocation of init method failed; nested exception is : Failed to parse mapping resource: 'file [C:\developer_tools\apache-tomcat-7.0.100-windows-x64\apache-tomcat-7.0.100\webapps\BaseProjectSSM\WEB-INF\classes\config\mybatis\mapper\admin\]'; nested exception is : Error parsing Mapper XML. Cause: : Mapped Statements collection already contains value for
    at $(:588)
    at (:88)
    at (:366)
    at (:1264)
    at (:553)
    at (:483)
    at $(:306)
    at (:230)
    at (:302)
    at (:197)
    at (:761)
    at (:867)
    at (:543)
    at (:443)
    at (:325)
    at (:107)
    at (:5197)
    at (:5720)
    at (:183)
    at $(:1705)
    at $(:1695)
    at (Unknown Source)
    at (Unknown Source)
    at $(Unknown Source)
    at (Unknown Source)
Caused by: : Error creating bean with name 'clazzAddressServiceImpl': Unsatisfied dependency expressed through field 'clazzAddressDao'; nested exception is : Error creating bean with name 'clazzAddressDao' defined in file [C:\developer_tools\apache-tomcat-7.0.100-windows-x64\apache-tomcat-7.0.100\webapps\BaseProjectSSM\WEB-INF\classes\com\ischoolbar\programmer\dao\admin\]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is : Error creating bean with name 'sqlSessionFactory' defined in class path resource [config/spring/]: Invocation of init method failed; nested exception is : Failed to parse mapping resource: 'file [C:\developer_tools\apache-tomcat-7.0.100-windows-x64\apache-tomcat-7.0.100\webapps\BaseProjectSSM\WEB-INF\classes\config\mybatis\mapper\admin\]'; nested exception is : Error parsing Mapper XML. Cause: : Mapped Statements collection already contains value for
    at $(:588)
    at (:88)
    at (:366)
    at (:1264)
    at (:553)
    at (:483)
    at $(:306)
    at (:230)
    at (:302)
    at (:202)
    at (:208)
    at (:1138)
    at (:1066)
    at $(:585)
    ... 24 more
Caused by: : Error creating bean with name 'clazzAddressDao' defined in file [C:\developer_tools\apache-tomcat-7.0.100-windows-x64\apache-tomcat-7.0.100\webapps\BaseProjectSSM\WEB-INF\classes\com\ischoolbar\programmer\dao\admin\]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is : Error creating bean with name 'sqlSessionFactory' defined in class path resource [config/spring/]: Invocation of init method failed; nested exception is : Failed to parse mapping resource: 'file [C:\developer_tools\apache-tomcat-7.0.100-windows-x64\apache-tomcat-7.0.100\webapps\BaseProjectSSM\WEB-INF\classes\config\mybatis\mapper\admin\]'; nested exception is : Error parsing Mapper XML. Cause: : Mapped Statements collection already contains value for
    at (:359)
    at (:108)
    at (:1531)
    at (:1276)
    at (:553)
    at (:483)
    at $(:306)
    at (:230)
    at (:302)
    at (:202)
    at (:208)
    at (:1138)
    at (:1066)
    at $(:585)
    ... 37 more
Caused by: : Error creating bean with name 'sqlSessionFactory' defined in class path resource [config/spring/]: Invocation of init method failed; nested exception is : Failed to parse mapping resource: 'file [C:\developer_tools\apache-tomcat-7.0.100-windows-x64\apache-tomcat-7.0.100\webapps\BaseProjectSSM\WEB-INF\classes\config\mybatis\mapper\admin\]'; nested exception is : Error parsing Mapper XML. Cause: : Mapped Statements collection already contains value for
    at (:1628)
    at (:555)
    at (:483)
    at $(:306)
    at (:230)
    at (:302)
    at (:197)
    at (:351)
    ... 50 more
Caused by: : Failed to parse mapping resource: 'file [C:\developer_tools\apache-tomcat-7.0.100-windows-x64\apache-tomcat-7.0.100\webapps\BaseProjectSSM\WEB-INF\classes\config\mybatis\mapper\admin\]'; nested exception is : Error parsing Mapper XML. Cause: : Mapped Statements collection already contains value for
    at (:523)
    at (:380)
    at (:1687)
    at (:1624)
    ... 57 more
Caused by: : Error parsing Mapper XML. Cause: : Mapped Statements collection already contains value for
    at (:120)
    at (:92)
    at (:521)
    ... 60 more
Caused by: : Mapped Statements collection already contains value for
    at $(:859)
    at $(:831)
    at (:655)
    at (:302)
    at (:109)
    at (:135)
    at (:128)
    at (:118)
    ... 62 more