老師講的真是超好!細(xì)節(jié)都面面俱到,剛開始的時(shí)候被老師命令行的氣勢(shì)嚇到。。還好內(nèi)容沒有太難。講的也細(xì)。。下一關(guān)走起
2017-08-19
有報(bào)錯(cuò):java.lang.IllegalStateException: Failed to load ApplicationContext
原因:(1)Caused by: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-dao.xml]
原因:(1)Caused by: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-dao.xml]
2017-08-18
你們是怎么用老師說的那個(gè)快捷鍵的?command+shift+D,windows相對(duì)應(yīng)得是什么鍵,ctrl+shifit+T 好像不是??!
2017-08-17
<select id="queryByIdWithSeckill" resultMap="SuccessKilled">
把resultMap改成resultType就可以
把resultMap改成resultType就可以
2017-08-15
老師好牛,多謝老師的分享。跟著老師敲代碼,前面單元測(cè)試的時(shí)候,遇到了MYSQL 中無法登陸錯(cuò)誤,jdbc.properties 中的username 問題。最后將jdbc.properties中全部添加jdbc.前綴。還遇到一個(gè)問題 commons-logging 無法創(chuàng)建問題,最后在gradle 中添加 jcl-over-slf4j的依賴,解決了。
2017-08-14