已采纳回答 / 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