错误代码:1301 数据集配置错误Query:Cannot create JDBC driver of class




决策系统里面报错 错误代码:1301 数据集配置错误Query:Cannot create JDBC driver of class,
但是数据库连接和数据预览是正常的。
日志里报了:警告:java.lang.Exception: 连接失败at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at javax.swing.SwingWorker.get(Unknown Source)
        at com.fr.design.gui.ilist.TableViewList$3.done(Unknown Source)
        at javax.swing.SwingWorker$5.run(Unknown Source)
        at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
        at sun.swing.AccumulativeRunnable.run(Unknown Source)
        at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
        at javax.swing.Timer.fireActionPerformed(Unknown Source)
        at javax.swing.Timer$DoPostEvent.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.WaitDispatchSupport$2.run(Unknown Source)
        at java.awt.WaitDispatchSupport$4.run(Unknown Source)
        at java.awt.WaitDispatchSupport$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.WaitDispatchSupport.enter(Unknown Source)
        at java.awt.Dialog.show(Unknown Source)
        at java.awt.Component.show(Unknown Source)
        at java.awt.Component.setVisible(Unknown Source)
        at java.awt.Window.setVisible(Unknown Source)
        at java.awt.Dialog.setVisible(Unknown Source)
        at com.fr.design.data.datapane.TableDataTreePane.dgEdit(Unknown Source)
        at com.fr.design.data.datapane.TableDataTreePane$EditAction.actionPerformed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)


请问大神们 ,这个是什么出问题了?

FineReportslight 发布于 2016-9-23 14:44
悬赏:2 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共8回答
最佳回答
0
孤陌发布于2016-9-23 14:44(编辑于 2023-9-6 09:34)
555
最佳回答
0
macro_hard发布于2016-9-23 14:51(编辑于 2023-9-6 09:34)
555
最佳回答
0
slight发布于2016-9-23 14:52(编辑于 2023-9-6 09:34)
555
  • macro_hard macro_hard

    那检查一下报表部署目录下的WEB-INF\\resources\\datasource.xml和你设计器环境下的相应文件是否一致,
    WEB-INF\\lib目录下的jar包是否和你设计器环境下的相应文件是否一致
    回复
    2016-09-23 14:56 
最佳回答
0
macro_hard发布于2016-9-23 14:56(编辑于 2023-9-6 09:34)
555
  • slight slight(提问者)

    我是直接将工作目录切换到了 tomcat里的WEB-INF/reportlets 的
    回复
    2016-09-23 15:00 
最佳回答
0
slight发布于2016-9-23 15:00(编辑于 2023-9-6 09:34)
555
  • macro_hard macro_hard

    所有报表都这样,还是只有这个报表是这样
    回复
    2016-09-23 15:04 
最佳回答
0
slight发布于2016-9-23 15:02(编辑于 2023-9-6 09:34)
555
最佳回答
0
macro_hard发布于2016-9-23 15:04(编辑于 2023-9-6 09:34)
555
  • slight slight(提问者)

    应该说是这个数据连接有问题,其他数据连接都没有问题吧
    回复
    2016-09-23 15:06 
最佳回答
0
slight发布于2016-9-23 15:06(编辑于 2023-9-6 09:34)
555
  • macro_hard macro_hard

    这个mysql数据连接的其它报表也是一样的问题?
    回复
    2016-09-23 15:07 
最佳回答
0
macro_hard发布于2016-9-23 15:07(编辑于 2023-9-6 09:34)
555
最佳回答
0
slight发布于2016-9-23 15:08(编辑于 2023-9-6 09:34)
555
  • macro_hard macro_hard

    删掉数据连接重新建试试, jdbc:mysql://ip/databaseName?user=root&useUnicode=True&characterEncoding=gb2312
    回复
    2016-09-23 15:22 
  • 0关注人数
  • 1350浏览人数
  • 最后回答于:2016-9-23 16:06
    活动推荐 更多
    热门课程 更多
    返回顶部