ide 调试sqlservercdc_stream.json 脚本 加载不到SqlservercdcSourceFactory类
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the SQL Server CDC JSON example and trace class loading from com.dtstack.chunjun.util.DataSyncFactoryUtil.java:70, especially discoverSource. Investigate why com.dtstack.chunjun.connector.sqlservercdc.source.SqlservercdcSourceFactory is not found, then verify that the example can resolve the source factory without the reported ClassNotFoundException.
Written by the indexing model from the issue text.
Description
json例子
{
"job" : {
"content" : [ {
"reader" : {
"parameter" : {
"databaseName":"inventory",
"tableList": ["inventory.orders"],
"username" : "sa",
"password" : "Password@,",
"cat" : "insert,delete,update",
"url" : "jdbc:sqlserver://192.168.1.153:1433;databaseName=inventory",
"splitUpdate" : true,
"pavingData" : true,
"pollInterval" : 1000
},
"name" : "sqlservercdcreader"
},
"writer" : {
"parameter" : {
"print" : true
},
"name" : "streamwriter"
}
} ],
"setting" : {
"speed" : {
"bytes" : 0,
"channel" : 1
}
}
}
}
报错信息:
Caused by: java.lang.ClassNotFoundException: com.dtstack.chunjun.connector.sqlservercdc.source.SqlservercdcSourceFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.dtstack.chunjun.util.DataSyncFactoryUtil$1.get(DataSyncFactoryUtil.java:70)
at com.dtstack.chunjun.util.DataSyncFactoryUtil$1.get(DataSyncFactoryUtil.java:67)
at com.dtstack.chunjun.classloader.ClassLoaderSupplierCallBack.callbackAndReset(ClassLoaderSupplierCallBack.java:33)
at com.dtstack.chunjun.classloader.ClassLoaderManager.newInstance(ClassLoaderManager.java:72)
at com.dtstack.chunjun.util.DataSyncFactoryUtil.discoverSource(DataSyncFactoryUtil.java:67)
- Dominant language
- No language data
- Stars
- 55
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DTStack/flinkx
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenLiberty/open-liberty#35839 ·
-
affects-9.0 found-by-ai may-affects-25.10 may-affects-26.3 may-affects-26.9 may-affects-7.5 may-affects-8.1 may-affects-8.5 severity/major sig/execution type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
antlr/grammars-v4#5014 · 1 comment ·