Hello,
in the process of finishing the PR 
https://github.com/apache/incubator-wayang/pull/389 for issue 
https://github.com/apache/incubator-wayang/issues/28<https://github.com/apache/incubator-wayang/issues/283>3,
 I encountered failures when running the integration tests in 
"wayang-tests-integration".
When verifying the build, I get the following error message during the 
execution of tests:
[ERROR] org.apache.wayang.tests.WordCountIT.testOnSparkToJava  Time elapsed: 
0.03 s  <<< ERROR!
org.apache.wayang.core.api.exception.WayangException: Job execution failed.
        at 
org.apache.wayang.tests.WordCountIT.testOnSparkToJava(WordCountIT.java:281)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.spark.storage.StorageUtils$
        at 
org.apache.wayang.tests.WordCountIT.testOnSparkToJava(WordCountIT.java:281)

>From resources like 
>https://java.tutorialink.com/running-unit-tests-with-spark-3-3-0-on-java-17-fails-with-illegalaccesserror-class-storageutils-cannot-access-class-sun-nio-ch-directbuffer/,
> I can see that this is likely due to the configuration of Spark and Java 11. 
>The mentioned export flags for the "maven-surefire-plugin" didn't solve the 
>problem.

Has anyone experienced a similar error or even this exact error and knows how 
to configure the build to avoid it?

Thanks in advance,
Juri Petersen

Reply via email to