最新回答 / 我Foryou
IDEA需要設置1.setting->Build,Execut, Deployment -> Compiler 勾選Build Project automatically2.ctrl + shift + a->搜索:registry -> 勾選compiler.automake.allow.when.app.running引用不知道幾樓的,侵刪
2020-12-22
最贊回答 / 小蝸牛有大理想
解決方法:
在SpringBoot的啟動類上,使用@MapperScan注解時引入了錯誤的包下的。 正確的應該是:import?tk.mybatis.spring.annotation.MapperScan; 錯誤的引入了:import?org.mybatis.spring.annotation.MapperScan;
2020-12-20
最新回答 / 小蝸牛有大理想
問題已經解決,自己在generatorConfig.xml 中配置了兩個不同的table,一個不用的table? 生成了pojo,mapper以及*mapper.xml,但是項目中沒有引用無用的table,所以報錯,在? generatorConfig.xml 除去那個無用的table即可。除去:
<table?tableName="aaa"></table>
2020-12-20
時隔一年,回來啃完了,一年前準備要用,現在終于要用到了,之前跳過sping,springBoot 學springcloud,學的好吃力,后面老老實實從spring bean開始學起,因為有4年PHP經驗,跳過去學 發現還是不行的 哈哈
2020-12-04