georgepap9808 commented on issue #10262: URL: https://github.com/apache/hudi/issues/10262#issuecomment-1849832879
> @georgepap9808 `java.lang.NoSuchMethodError: scala.Function1.$init$(Lscala/Function1;)V` is due to scala version is conflicting. can you try build with -Dscala-2.11 Thank you very much @ad1happy2go for your reply, it worked. Just one small detail to notice here Instead of using only -Dscala-2.11 I also specified spark version, so the complete command I used and build successfully hudi was ``` mvn clean package -Pintegration-tests -DskipTests -Dscala-2.11 -Dspark2.4 ``` -- 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]
