SQLServerDriver Exception thrown at runtime in CA Plex sample app.

Document ID : KB000047081
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem: 

I gen and built the EJBConnectors Sample app that uses Java Beans from the ACTIVE pattern library, but am getting the following exception at runtime:

When I run the genned and built app, I get:

Exception in thread "main" java.long.UnsupportedClassVersionError:com/microsoft/sqlserver/jdbc/SQLServerDriver: Unsupported major.minor version 52.0

Environment:  

Windows

Cause: 

User has an incompatible SQL Server Driver defined in the gen and build options dialog.

Resolution:

1. Install Driver 3.0 which is compatible with JDK 1.5 and 1.6. 

2. Point to it in generate and build options.