已采纳回答 / 叶涙
CREATE TABLE tb_area ( area_id int(2) NOT NULL auto_increment, area_name varchar(200) NOT NULL, priority int(2) NOT NULL DEFAULT'0', create_time datetime DEFAULT NULL, last_edit_time datetime DEFAULT NULL, PRIMARY KEY(area_id), UNIQUE KEY UK_AREA(area_nam...
2018-08-09
已采纳回答 / 莫逆于心wxxxxx
类型不对啊,你的dataSource是String的,而参数需要的是javax.sql.DataSource类型的。认真跟着步骤一步一步来吧
2018-08-09
2018-08-03 15:32:28.992 ERROR 10776 --- [ main] o.s.boot.SpringApplication : Application run failed
java.lang.IllegalArgumentException: At least one base package must be specified
一脸蒙蔽
java.lang.IllegalArgumentException: At least one base package must be specified
一脸蒙蔽
2018-08-03
CREATE TABLE tb_area( area_id INT(2)NOT NULL AUTO_INCREMENT, area_name VARCHAR(200)NOT NULL, priority INT(2)NOT NULL DEFAULT'0', create_time DATETIME DEFAULT NULL, last_edit_time DATETIME DEFAULT NULL, PRIMARY KEY(area_id), UNIQUE KEY UK_AREA(area_name) )ENGINE=INNODB AUTO_INCREMENT=1
2018-08-03