麦粉社区
>
帖子详情

请教:数据挖掘关系数据源连接mysql8问题

数据挖掘 发表于 2022-4-27 12:10
发表于 2022-4-27 12:10:45

数据挖掘,关系数据源节点执行提示“

后台异常,根据名称找不到类,详细信息如下:com.mysql.cj.jdbc.Driver


在\Smartbi\SmartbiEngine\engine\examples\conf\lib\mysql下放入了mysql8的驱动,还是找不到这个驱动。


备注:前面数据集连接mysql8数据展现什么的都是可以正常的

发表于 2022-4-27 12:10:46
放了之后要重启引擎
打赏人数1麦豆 +20 收起 理由
+ 20 感谢

查看全部打赏

  •   红
    重启好几次了,也不行。smartbiV10,mysql8.0.14,windows一键部署的环境
    2022-4-27 14:10| 回复
  •   红
    2022-04-27 14:11:34.076 [9259] INFO node.GenericNode.start:109 - Node start. (id:cbe42d0263e9364e28587c270f91ef0d,name:JDBC_DATASOURCE)
    2022-04-27 14:11:34.092 [9259] INFO datasource.JdbcDatasourceNode.execute:158 - dbtable select `company_id`,`qc_companyname`,`qc_productmodel`,`qc_enginetype`,`owner_ownerName`,`owner_carNumber`,`qc_inspect_state`,`verify_result`,`update_date`,`companyvalue`,`applicationVehicleNumber`,`owner_carTypeName`,`id`,`chassismodel`,`fueltype`,`totalweight`,`setupweightdesignvalue`,`setupweight`,`enginetype`,`passengernum`,`carlengthdesignvalue`,`carlength`,`carwidth`,`carheight`,`gasbottlenumandloc`,`luggageheight`,`luggagerestraint`,`driverupfloor`,`exitsnum`,`passengerdoornumandloc`,`emergencydoornumandloc`,`seatingarrangement`,`emergencywindowlayout`,`engineposition`,`foldingseat`,`emergencydoorwidth`,`occupantseatsnum`,`ldwstype`,`videomonitoringsystemtype`,`esctype`,`satellitepositioningtype`,`aebstype`,`braketype`,`oilwaterseparationdevice`,`absalarmdevice`,`brakingclearancedevice`,`retardertype`,`brakelining`,`brakecylinder`,`brakeairpressure`,`transmissionshaft`,`tyrepressuredevicetype`,`batirenum`,`tyreburstdevicetype`,`emergencyhammerdevice`,`emergencywindownum`,`roofwindownum`,`tankdistancefront`,`tankdistanceend`,`emergencyhammernum`,`tanksideprotection`,`tanknumandcapacity`,`seatbeltconfiguration`,`breakernumandswitchloc`,`safetysign`,`ventilationdevice`,`gasadnvalvedevice`,`safetybeltreminddevice`,`emergencycontroller`,`alarmsystemofeddy`,`stopwedgenumber`,`heatinsulationdevice`,`tyrespec`,`safetyNote`,`insidewidth`,`seatdistance`,`seatdeep`,`seatfoot`,`coolsystem`,`videoplay`,`armrest`,`airplant`,`suspensiontype`,`followsteering`,`passengerDoorPas`,`roofRack`,`buslevel`,`seatmove_affiliate`,`seatmove`,`seatwidth`,`highchair`,`backrest`,`canall`,`engineoutfire`,`toilet`,`aircleaner`,`bottomLubrication`,`bagspace`,`baggageHolder`,`cellSelfExtinguishing`,`cartype325` from `testkeche2020_1` ) as T
    2022-04-27 14:11:34.093 [9259] ERROR node.GenericNode.handleExecuteError:150 - Node execution failed.(id:cbe42d0263e9364e28587c270f91ef0d,name:JDBC_DATASOURCE)
    smartbix.datamining.engine.execute.exception.CheckedException: 后台异常,根据名称找不到类,详细信息如下:com.mysql.cj.jdbc.Driver
    	at smartbix.datamining.engine.datasource.DefaultDsExecutor.read(DefaultDsExecutor.java:40) ~[EngineCore-1.0.jar:?]
    	at smartbix.datamining.engine.execute.node.datasource.JdbcDatasourceNode.execute(JdbcDatasourceNode.java:159) ~[EngineCommonNode-1.0.jar:?]
    	at smartbix.datamining.engine.execute.node.GenericNode.start(GenericNode.java:119) [EngineCore-1.0.jar:?]
    	at smartbix.datamining.engine.experiment.execute.node.LocalNodeExecutor.run(LocalNodeExecutor.java:47) [EngineExperiment-1.0.jar:?]
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_202-ea]
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_202-ea]
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_202-ea]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_202-ea]
    	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202-ea]
    Caused by: java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_202-ea]
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_202-ea]
    	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[?:1.8.0_202-ea]
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_202-ea]
    	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_202-ea]
    	at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_202-ea]
    	at smartbix.datamining.engine.datasource.DefaultDsExecutor.read(DefaultDsExecutor.java:38) ~[EngineCore-1.0.jar:?]
    	... 8 more
    2022-04-27 14:11:34.129 [9259] INFO flow.DistributionFlow.fail:292 - Flow failed
    2022-4-27 14:12| 回复
  •   红
    一键部署的,引擎需要单独启动么?重启smartbi服务了好几次
    2022-4-27 14:21| 回复
  •   搜一搜
     回复 
    这有一个类似的案例,应该要重启引擎https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=92078275
    2022-4-27 14:27| 回复
  •   红
    单独重启了引擎服务,好了,谢谢
    2022-4-27 14:27| 回复

回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

6回帖数 0关注人数 3087浏览人数
最后回复于:2022-4-27 13:39
快速回复 返回顶部 返回列表