Re: flink no class found error

Posted by rmetzger0 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/flink-no-class-found-error-tp8432p8433.html

Hi Janardhan,

#1 Is the exception thrown from your user code, or from Flink?

#2 is most likely caused due to a compiler / runtime version mismatch: http://stackoverflow.com/questions/10382929/how-to-fix-java-lang-unsupportedclassversionerror-unsupported-major-minor-versi
You compiled the code with Java8, but you try to run it with an older JVM.

On Wed, Aug 10, 2016 at 9:46 PM, Janardhan Reddy <[hidden email]> wrote:
Hi,

We are getting the following error on submitting the flink jobs to the cluster.

1. Caused by: java.lang.NoSuchMethodError: com.google.common.io.Resources.asCharSource

2. This is for entirely different job
Caused by: java.lang.UnsupportedClassVersionError: com/olacabs/fabric/common/Metadata : Unsupported major.minor version 52.0

But when we are running the flink locally, there is no error in both the jobs.