异常

Caused by: java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist

 

右击applicationContext.xml所在的包 Mark Directory as --> Sources Root

 

Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'name' at row 1

输入的字长超过了数据库设置的字长

posted @ 2019-05-12 21:55  Angry-rookie  阅读(82)  评论(0编辑  收藏  举报