Github user DieBauer commented on the issue: https://github.com/apache/flink/pull/3703 I'm running into an issue with asm in for example the flink-scala module, when compiling with 2.12. ``` java.io.IOException: Class not found at org.objectweb.asm.ClassReader.a(Unknown Source) at org.objectweb.asm.ClassReader.<init>(Unknown Source) at org.apache.flink.api.scala.ClosureCleaner$.getClassReader(ClosureCleaner.scala:44) at org.apache.flink.api.scala.ClosureCleaner$.getInnerClasses(ClosureCleaner.scala:92) at org.apache.flink.api.scala.ClosureCleaner$.clean(ClosureCleaner.scala:115) at org.apache.flink.api.scala.DataSet.clean(DataSet.scala:125) at org.apache.flink.api.scala.DataSet$$anon$12.<init>(DataSet.scala:910) ``` since the closurecleaner was initially copied from spark, I've looked there and found an issues (https://github.com/apache/spark/pull/9512) regarding asm5 and java8. However, flink is already using asm5 in the closurecleaner. Their dependency is ``` <groupId>org.apache.xbean</groupId> <artifactId>xbean-asm5-shaded</artifactId> ``` and ours is from org.ow2.asm, asm. There are things going on in the shaded plugin in the parent pom with regard to relocating dependencies of asm, but I'm not sure how that all works out. So for now, I'm a bit puzzled why we get this error. @greghogan you're right, the profile jdk8 is only enabling the module with examples in java8. But since they are also compiled in the scala-2.11 case, I thought we want to have them? We can drop it of course.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---