错误信息: tate [HY000]; error code [1449]; There is no 'usportal'@'%'registered; nested exception is java.sql.SQLException: There is no 'usportal'@'%'registered 办法: 在mysql中加入usportal用户 usportal@% usportal%localhost 即可