2 qq 18115641 qq_18115641 于 2016.09.13 15:11 提问

“queryrunner query报错 创建不了bean 10C

Caused by: java.sql.SQLException: Cannot create com.cciot.bean.User: com.cciot.bean.User Query: select *from user_tb Parameters: []
at org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:320)
at org.apache.commons.dbutils.QueryRunner.query(QueryRunner.java:349)
at org.apache.commons.dbutils.QueryRunner.query(QueryRunner.java:305)
at com.cciot.dao.Impl.UserDaoImpl.findAllUser(UserDaoImpl.java:69)
... 26 more

1个回答

black_bread
black_bread   2016.09.13 16:28

好像是你的查询语句错了 select空格*空格from 星号左右要有空格

Csdn user default icon
上传中...
上传图片
插入图片