unipop-graph / unipop

Data Integration Graph
Apache License 2.0
203 stars 35 forks source link

Error:org.unipop.jdbc.JdbcSourceProvider not found #130

Closed like1008 closed 6 years ago

like1008 commented 6 years ago

I am new to unipop. I tried to follow the Wiki pages about ## JDBC Configuration but encountered the following error.

Exception in thread "main" java.lang.RuntimeException: class: org.unipop.jdbc.JdbcSourceProvider not found at org.unipop.query.controller.ConfigurationControllerManager.lambda$loadControllers$1(ConfigurationControllerManager.java:56) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)

My codes are: BaseConfiguration conf = new BaseConfiguration(); conf.addProperty("providers", "D:\\test-java\\unipopTest\\src\\main\\java\\json"); UniGraph graph=UniGraph.open(conf);

My mapping file contains: { "class": "org.unipop.jdbc.JdbcSourceProvider", "driver": "com.mysql.jdbc.Driver", "address": [ "DriverManager.getConnection('jdbc:mysql://10.22.85.11:3388/test','root','root')" ], "sqlDialect": "org.hibernate.dialect.MySQL5InnoDBDialect", "vertices": [] "edges":[] }

I did not find any solution in google. Appreciate it if anyone could help.