Affects Version/s: 18.104.22.168
Fix Version/s: 22.214.171.124
In Lucee 4.x you could add an MSSQL datasource with the class name "com.microsoft.jdbc.sqlserver.SQLServerDriver" using <cfapplication> and it would automatically get resolved into the intended class. In Lucee 5.x though lucee.commons.lang.ClassException error gets thrown.
The proper fix for this is for developers to ensure the correct class name, com.microsoft.sqlserver.jdbc.SQLServerDriver is used, and NOT com.microsoft.jdbc.sqlserver.SQLServerDriver
However a workaround to allow Lucee 4.5 -> 5.0 compatibility could be desirable
Stack trace as follows