出现
错误:
java.lang.ClassNotFoundException: com.teradata.jdbc.TeraDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.gephi.io.
database.drivers.TeradataDriver.<init>(TeradataDriver.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(SharedClassObjectBridge.java:64)
at org.openide.util.lookup.MetaInf
ServicesLookup$P.getInstance(MetaInfServicesLookup.java:492)
at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1044)
at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1024)
at org.openide.util.lookup.ProxyLookup$LazyCollection.computeSingleResult(ProxyLookup.java:1267)
at org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1105)
at org.openide.util.lookup.ProxyLookup$LazyCollection.access$900(ProxyLookup.java:1033)
at org.openide.util.lookup.ProxyLookup$LazyCollection$1.
hasNext(ProxyLookup.java:1233)
at org.gephi.io.database.drivers.SQLUtils.getDriver(SQLUtils.java:53)
at org.gephi.io.importer.api.AbstractDatabase.getSQLDriver(AbstractDatabase.java:73)
at org.gephi.io.importer.plugin.database.ImporterEdgeList.importData(ImporterEdgeList.java:110)
at org.gephi.io.importer.plugin.database.ImporterEdgeList.execute(ImporterEdgeList.java:89)
at org.gephi.io.importer.impl.ImportControllerImpl.importDatabase(ImportControllerImpl.java:214)
at test.MYSQLImportExport.script(MYSQLImportExport.java:90)
at test.Main.main(Main.java:49)
查了一会,网上说Teradata需要3个包terajdbc4.jar,tdgssjava.jar,tdgssconfig.jar
但是下载了这三个包,仍不管用。