AnsweredAssumed Answered

Unsupported major.minor version 51.0

Question asked by p_wilson on Nov 27, 2013
Latest reply on Nov 28, 2013 by p_wilson
Good evening all,
this is my first post but I have been in and out of these forums for weeks. It's been very helpful and now I have a little problem that I can't seem to find the answer to.

Yesterday I had a fully running activiti setup, running both rest and explorer instances.
Unfortunately, I had to do a rebuild of the server and since then I am having problems getting my processes to instantiate my custom jars.

Previously I was using Activiti 5.13, the new install is with 5.14.The corresponding eclipse included jars have been updated to represent this change in version. In fact I started a completely new project just in case it was using files from the previous install.

When I run my process, that uses a service task to call a class, I get an error saying "couldn't instantiate class".
The relevant export jar files are located in their respective  **/WEB-INF/lib directories.

On closer inspection of the error stack trace I noticed the line:-
Caused by: java.lang.UnsupportedClassVersionError: Dbk_mysqlConnector : Unsupported major.minor version 51.0 (unable to load class    Dbk_mysqlConnector)

I am not able to find any previous reported errors with this problem.
The setup is on Debian, Tomcat 7, Java 7, Activiti 5.14 and I have included the full stacktrace in the attached file.

Any help would be appreciated.