第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

啟動(dòng)報(bào)錯(cuò) Error creating bean with name 'myBatisCRUDController'

2020-12-20 17:15:58.592? WARN 12008 --- [? restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'myBatisCRUDController': Unsatisfied dependency expressed through field 'userService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userServiceImpl': Unsatisfied dependency expressed through field 'userMapper'; nested exception is

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysUserMapper' defined in file [F:\xiangmu3\Xin\FuQiang\Springboot_1\download_resource\SpringbootDemo\demo\demo\target\classes\com\example\demo\mapper\SysUserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [tk/mybatis/mapper/autoconfigure/MapperAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\xiangmu3\Xin\FuQiang\Springboot_1\download_resource\SpringbootDemo\demo\demo\target\classes\mapper\AaaMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: Result Maps collection already contains value for com.example.demo.mapper.AaaMapper.BaseResultMap
2020-12-20 17:15:58.599? INFO 12008 --- [? restartedMain] com.alibaba.druid.pool.DruidDataSource?? : {dataSource-1} closed
2020-12-20 17:15:58.605? INFO 12008 --- [? restartedMain] o.apache.catalina.core.StandardService?? : Stopping service [Tomcat]
2020-12-20 17:15:58.628? INFO 12008 --- [? restartedMain] ConditionEvaluationReportLoggingListener :

...
Disconnected from the target VM, address: '127.0.0.1:14700', transport: 'socket'

Process finished with exit code 0

正在回答

1 回答

問(wèn)題已經(jīng)解決,自己在generatorConfig.xml 中配置了兩個(gè)不同的table,一個(gè)不用的table? 生成了pojo,mapper以及*mapper.xml,但是項(xiàng)目中沒(méi)有引用無(wú)用的table,所以報(bào)錯(cuò),在? generatorConfig.xml 除去那個(gè)無(wú)用的table即可。

除去:

<table?tableName="aaa"></table>


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

啟動(dòng)報(bào)錯(cuò) Error creating bean with name 'myBatisCRUDController'

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)