"java.lang.UnsupportedClassVersionError" during Spotfire Server startup

"java.lang.UnsupportedClassVersionError" during Spotfire Server startup

book

Article ID: KB0078561

calendar_today

Updated On:

Products Versions
Spotfire Server 7.11.x

Description

The Spotfire Server may not startup and the following error is seen in the server.log:

Caused by: java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Issue/Introduction

"java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver" prevents the server from starting up

Environment

Windows / Linux Operating Systems

Resolution

The issue here is that there may be newer multiple versions of the SQL Server JDBC jar files that would cause a conflict. 

Review the tomcat\lib and the WEB-INF\lib folders within the Spotfire Server install folder and remove any redundant SQL Server JDBC drivers that may not be compatible with JDK 1.8.x (which is what is bundled with Spotfire Server versions 7.11.x)