异常
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
输入的字长超过了数据库设置的字长