java.lang.NoClassDefFoundError: com/microsoft/sqlserver/jdbc/StreamError
See original GitHub issueUsing sqljdbc42.jar from package sqljdbc_6.0.7728.100_enu.tar, I’m getting the following exception from time to time: config: Linux CentOS 7 - 3.10.0-327.18.2.el7.x86_64 OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode) Using HikariCP connection pool which wraps com.microsoft.sqlserver.jdbc.SQLServerDataSource
java.lang.NoClassDefFoundError: com/microsoft/sqlserver/jdbc/StreamError
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onError(tdsparser.java:194)
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:71)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1630)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:426)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:372)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:6276)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1793)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:184)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:159)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:284)
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
java.lang.ClassNotFoundException: com.microsoft.jdbc ...
If you are seeing this exception while trying to use the SQL Server 2005 JDBC driver, then you will need to update the...
Read more >How to fix java.lang.ClassNotFoundException - Javarevisited
This error comes when you try to connect to the Microsoft SQL Server database from the Java program but the required JDBC driver...
Read more >com.microsoft.sqlserver.jdbc.SQLServerDriver not found error
java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver : Am I loading the right driver? 0 · Exception Description: Configuration ...
Read more >java.lang.NoClassDefFoundError: com/microsoft/sqlserver ...
Using sqljdbc42.jar from package sqljdbc_6.0.7728.100_enu.tar, I'm getting the following exception from time to time: config: Linux CentOS 7 ...
Read more >com.microsoft.sqlserver.jdbc.SQLServerDriver - CodeRanch
Java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver. I have everything correct but still facing problem .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mohsen
Version you mentioned is latest one from MSDN Download Center.
Download Package (tarball / zip) name itself indicates version. Also one can check version with following code too.
Further one can download it from maven repo too.
In our next public release we are going to add build number in MANIFEST.MF which is standard practice in Java World.
We are working towards Semantic Versioning in order to avoid version confusions.
Meanwhile it’s worth to watch our dev branch for further updates.
@mohsen - we haven’t heard from you in a bit. Closing this issue for now. Please feel free to reopen if required.