You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am triying to run simple cobol-app in the example in java project. I have modified pom.xml as per the instruction. However, I am getting some error related to version mismatch.
23/12/27 16:45:50 INFO DefaultSource: Cobrix 'spark-cobol' build 2.6.9 (2023-10-16T10:52:47)
Exception in thread "main" java.lang.NoClassDefFoundError: scala/Product$class
at za.co.absa.cobrix.cobol.parser.recordformats.RecordFormat$FixedLength$.<init>(RecordFormat.scala:22)
Question
Is there any place that I can download a sample java app that represents the use of cobix library. Scala is not setup in my work environment. I have created a sample app with java at https://github.com/jaysara/spark-cobol-jay . The errors that I am getting are in the Readme.md file. Will appreciate any help that you can give.
The text was updated successfully, but these errors were encountered:
Please close the issue. I was getting in to version mismatch between the spark and scala version. The build file that I downloaded was using 2.11 scala version, while rest of my program was using 2.12.
Background [Optional]
I am triying to run simple cobol-app in the example in java project. I have modified pom.xml as per the instruction. However, I am getting some error related to version mismatch.
Question
Is there any place that I can download a sample java app that represents the use of cobix library. Scala is not setup in my work environment. I have created a sample app with java at https://github.com/jaysara/spark-cobol-jay . The errors that I am getting are in the Readme.md file. Will appreciate any help that you can give.
The text was updated successfully, but these errors were encountered: