已采納回答 / cn_lxf3174584
?Annotation-specified bean name 'helloController' for bean class [com.imooc.HelloController] conflicts with existing, non-compatible bean definition of same name and class [com.imooc.controller.HelloController];報錯已經說了,你看看你這兩個,名字相同了,com.imooc.HelloControll...
2017-07-26
已采納回答 / mjka5632
int是java基本數據類型,Integer是int的包裝類。Integer使用需要被實例化,int不需要(也就是說Integer是對象,int不是)Integer的默認值null,int的默認值為0
2017-07-11
已采納回答 / 未卜先知
配置Tomcat的角色(用戶)和密碼<tomcat-users>? ? ? ? ? ? ? ? <role rolename="manager"/>? ? ? ? ? ? ? ? <role rolename="admin"/>? ? ? ? ? ? ? ? <user username="admin" password="password" roles="admin,manager"/>?<tomcat-users>配置Maven的settin...
2017-05-25
最贊回答 / 慕娘947642
這個問題困擾了我好幾天,終于搞定了,記錄一下,只要在配置文件中增加數據庫方言即可:
#指定數據庫方言 spring.jpa.properties.hibernate.dialect?=?org.hibernate.dialect.SQLServerDialect注意:我這里...
2017-04-16