drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinfeng Ni (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-5373) Drill JDBC error in the process of connection via SQuirrel: java.lang.NoClassDefFoundError: javax/validation/constraints/NotNull
Date Mon, 03 Apr 2017 05:21:42 GMT

     [ https://issues.apache.org/jira/browse/DRILL-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jinfeng Ni resolved DRILL-5373.
-------------------------------
    Resolution: Fixed

Fixed in commit d3718a62e2315a601615db8803cdfdcc3cedab82

> Drill JDBC error in the process of connection via SQuirrel: java.lang.NoClassDefFoundError:
javax/validation/constraints/NotNull
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-5373
>                 URL: https://issues.apache.org/jira/browse/DRILL-5373
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>    Affects Versions: 1.10.0
>         Environment: SQuirrel SQL Client Version 3.7
>            Reporter: Vitalii Diravka
>            Assignee: Vitalii Diravka
>             Fix For: 1.11.0
>
>
> When I tried to connect to drillbit by SQuirrel via jdbc I've got an error:
> {code}
> java.lang.NoClassDefFoundError: javax/validation/constraints/NotNull
> 	at org.apache.drill.jdbc.impl.DrillMetaImpl.drillFieldMetaData(DrillMetaImpl.java:263)
> 	at org.apache.drill.jdbc.impl.DrillMetaImpl$MetadataAdapter.getMeta(DrillMetaImpl.java:322)
> 	at org.apache.drill.jdbc.impl.DrillMetaImpl.serverGetCatalogs(DrillMetaImpl.java:1034)
> 	at org.apache.drill.jdbc.impl.DrillMetaImpl.getCatalogs(DrillMetaImpl.java:1077)
> 	at oadd.org.apache.calcite.avatica.AvaticaDatabaseMetaData.getCatalogs(AvaticaDatabaseMetaData.java:609)
> 	at org.apache.drill.jdbc.impl.DrillDatabaseMetaDataImpl.getCatalogs(DrillDatabaseMetaDataImpl.java:1168)
> 	at net.sourceforge.squirrel_sql.fw.sql.SQLDatabaseMetaData.getCatalogs(SQLDatabaseMetaData.java:456)
> 	at net.sourceforge.squirrel_sql.client.gui.session.CatalogsPanel.initInBackground(CatalogsPanel.java:93)
> 	at net.sourceforge.squirrel_sql.client.gui.session.CatalogsPanel.<init>(CatalogsPanel.java:56)
> 	at net.sourceforge.squirrel_sql.client.gui.session.SessionPanel$MyToolBar.createGUI(SessionPanel.java:556)
> 	at net.sourceforge.squirrel_sql.client.gui.session.SessionPanel$MyToolBar.<init>(SessionPanel.java:525)
> 	at net.sourceforge.squirrel_sql.client.gui.session.SessionPanel.propertiesHaveChanged(SessionPanel.java:435)
> 	at net.sourceforge.squirrel_sql.client.gui.session.SessionPanel.initialize(SessionPanel.java:117)
> 	at net.sourceforge.squirrel_sql.client.gui.session.SessionInternalFrame.createGUI(SessionInternalFrame.java:123)
> 	at net.sourceforge.squirrel_sql.client.gui.session.SessionInternalFrame.<init>(SessionInternalFrame.java:53)
> 	at net.sourceforge.squirrel_sql.client.gui.WindowManager.createInternalFrame(WindowManager.java:405)
> 	at net.sourceforge.squirrel_sql.client.mainframe.action.ConnectToAliasCommand$Runner.run(ConnectToAliasCommand.java:394)
> 	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
> 	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
> 	at java.awt.EventQueue.access$300(EventQueue.java:103)
> 	at java.awt.EventQueue$3.run(EventQueue.java:706)
> 	at java.awt.EventQueue$3.run(EventQueue.java:704)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
> 	at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:99)
> 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
> 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
> {code}
> This annotation was added in DRILL-5301. But it requires a new dependency for the jdbc
module.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message