6.1.1: Unexpected driver error occurred while connecting to database: javax/xml/bind/DatatypeConverter
See original GitHub issueHello,
I am using DBeaver with gooddada ADS driver (wrapper over vertica JDBC) for 3 years now. After today update to DBeaver 6.1.1, I am getting this error:
Unexpected driver error occurred while connecting to database javax/xml/bind/DatatypeConverter
Tried on both JDK8 and JDK11. The only working combination is 6.1.0 with oracle JDK 8, it does not work with openJDK 11.
debug.log:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2019-06-25 08:23:18.049 - Connection failed (F4DD66D6-4E83-F07B-6A15-B0E059AC4B3E-16ae503801c-cb9e62eb51031b)
2019-06-25 08:23:18.052 - org.jkiss.dbeaver.model.exec.DBCConnectException: Unexpected driver error occurred while connecting to database
org.jkiss.dbeaver.model.exec.DBCConnectException: Unexpected driver error occurred while connecting to database
at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:185)
at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.openConnection(GenericDataSource.java:124)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:89)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.initializeMainContext(JDBCRemoteInstance.java:88)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.<init>(JDBCRemoteInstance.java:54)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.initializeRemoteInstance(JDBCDataSource.java:105)
at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.<init>(GenericDataSource.java:106)
at org.jkiss.dbeaver.ext.generic.model.meta.GenericMetaModel.createDataSourceImpl(GenericMetaModel.java:68)
at org.jkiss.dbeaver.ext.generic.GenericDataSourceProvider.openDataSource(GenericDataSourceProvider.java:95)
at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:778)
at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:102)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
at com.gooddata.datawarehouse.jdbc.driver.RestClient$BasicAuthentication.authenticate(RestClient.java:267)
at com.gooddata.datawarehouse.jdbc.driver.RestClient$BasicAuthentication.addAuthenticationHeaders(RestClient.java:260)
at com.gooddata.datawarehouse.jdbc.driver.RestClient.httpGet(RestClient.java:138)
at com.gooddata.datawarehouse.jdbc.driver.RestClient.getInstanceEndpointsLink(RestClient.java:125)
at com.gooddata.datawarehouse.jdbc.driver.RestClient.readEndpointsInfo(RestClient.java:119)
at com.gooddata.datawarehouse.jdbc.driver.RestClient.getEndpointsInfo(RestClient.java:114)
at com.gooddata.datawarehouse.jdbc.driver.ConnectionFactory.resolveJdbcProxies(ConnectionFactory.java:119)
at com.gooddata.datawarehouse.jdbc.driver.ConnectionFactory.createAuthenticatedClient(ConnectionFactory.java:165)
at com.gooddata.datawarehouse.jdbc.driver.ConnectionFactory.createConnection(ConnectionFactory.java:84)
at com.gooddata.datawarehouse.jdbc.driver.DatawarehouseDriver.connect(DatawarehouseDriver.java:78)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.lambda$0(JDBCDataSource.java:148)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:157)
... 12 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 24 more
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
unable to connect to dbeaver - jasper driver | Clarity
Hi Am trying to connect to Clarity database using dbeaver; - jdbc connectioni have this error messageI have add jdbc drivercan you please ......
Read more >6.1.1_ Unexpected driver error occurred while connecting to ...
View 6.1.1_ Unexpected driver error occurred while connecting to database_ javax_xml_bind_DatatypeConvert from CS MISC at University of Melbourne. 6.1.1: ...
Read more >javax/xml/bind/DatatypeConverter" with SQL Server JDBC ...
which compiler did your Intellij use? When I switched to Intellij, my project Language level is always set to 1.5. Open Module Settings...
Read more >Error during connect "java.lang.NoClassDefFoundError: javax ...
When using the Microsoft SQL Server driver this error typically indicates you are using a driver version that is not compatible with the...
Read more >NoClassDefFoundError: javax/xml/bind/DatatypeConverter
In my case, I get this message when I try to press "Test connection": image.png. I have installed both mssql driver and java...
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 FreeTop 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
Top GitHub Comments
I don’t know why it didn’t operate in JDK8. However, since JDK9, ‘java.xml.bind’ package has been not involved in JRE basically. Therefore, how about trying to do likes below?
※ Suppose AWS REDSHIFT connection is equal to your GOODDATA_DATAWAREHOUSE connection.
@dorbae Ok, thanks for the information. Closing.