Symptom
Process Orchestration (PO) system is on SAP Netweaver 7.50, Java version 8. To connect to MS SQL server 2022, check with the JDBC vendor about the correct JDBC driver that is supported by Java version 8.
After deployment, the JDBC connection from PO system to MS SQL server 2022 fails with the below error:
Error during database connection to the database URL 'jdbc:sqlserver://<db_Server>:port;databaseName=<db_name>'
using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver':
'com.sap.engine.interfaces.messaging.api.exception.MessagingException:
com.sap.aii.adapter.jdbc.sql.DriverManagerException:
Cannot establish connection with the registered driver.
com.microsoft.sqlserver.jdbc.SQLServerDriver returns:
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.
: 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#
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- SAP NetWeaver
- SAP Process Orchestration
Product
Keywords
Process Orchestration 7.5, PI 7.5, PO 7.5, JDBC driver, MS SQL server 2022, UnsupportedClassVersionError, com/microsoft/sqlserver/jdbc/SQLServerDriver, deploy, JRE , KBA , BC-XI-CON-JDB , JDBC Adapter , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.