当前位置:   article > 正文

DBUtils 查询报错:Exception in thread "main" java.sql.SQLException: Cannot create....Query_tdengine exception in thread "main" java.sql.sqlex

tdengine exception in thread "main" java.sql.sqlexception: can't create conn

Exception in thread "main" java.sql.SQLException: Cannot create com.wlr.dao.anime: com.wlr.dao.anime Query: select name from anime1 where anime_id=? Parameters: [5114]

查询报错,不能建立这个查询

解决方法:在你的类里加一个无参构造方法。

public anime() {
    super();
}

 

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/201853
推荐阅读
相关标签
  

闽ICP备14008679号