xr-chen opened a new issue, #789: URL: https://github.com/apache/incubator-xtable/issues/789
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-xtable/issues?q=is%3Aissue) and found no similar issues. ### Please describe the bug 🐞 Got the following error when running the xtable-utilities bundle jar on my local machine ``` Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/sql/types/DataType at org.apache.xtable.delta.DeltaConversionUtils.buildSparkSession(DeltaConversionUtils.java:43) at org.apache.xtable.delta.DeltaConversionSourceProvider.getConversionSourceInstance(DeltaConversionSourceProvider.java:32) at org.apache.xtable.delta.DeltaConversionSourceProvider.getConversionSourceInstance(DeltaConversionSourceProvider.java:29) at org.apache.xtable.conversion.ConversionController.sync(ConversionController.java:104) at org.apache.xtable.utilities.RunSync.syncTableMetdata(RunSync.java:186) at org.apache.xtable.utilities.RunSync.runSync(RunSync.java:297) at org.apache.xtable.utilities.RunSync.main(RunSync.java:282) Caused by: java.lang.ClassNotFoundException: org.apache.spark.sql.types.DataType at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527) ... 7 more ``` The jar is built by the command ``` ./mvnw clean install -DskipTests -Dmaven.build.cache.enabled=false ``` The command used to run the jar ``` java -jar xtable-utilities/target/xtable-utilities_2.12-0.2.0-SNAPSHOT-bundled.jar --datasetConfig my_config.yaml ``` ### Are you willing to submit PR? - [ ] I am willing to submit a PR! - [ ] I am willing to submit a PR but need help getting started! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
