|
|
Choosing A Webhost: |
Re: Error "org/aspectj/lang/Signature" when using mysql-connector-java-5.0.: msg#00007db.squirrel-sql.users
Hi Andreas, just found this in a MySQL forum: Subject: java.lang.NoClassDefFoundError: org/aspectj/lang/Signature Message (part): You're running the trace/debug version of the driver. Don't use the jar file with the "-g" in the name. We've moved this into it's own directory in newer distributions of the driver to make it harder to make this mistake. Hope it helps. Gerd CptBlaubaer wrote: > Hi there, > > I just tried to update my JDBC driver for mysql. I used > "C:\Programme\Java\jre1.5.0_06\lib\ext\mysql-connector-java-5.0.5-bin-g.jar" > as alternative class path and com.mysql.jdbs.Driver as the class-name. > > When I try to use the setup from above I get the following error > > "org/aspectj/lang/Signature" > > What am I doing wrong? With the older version > mysql-connector-java-3.1.12-bin.jar it just works fine. > > I'd be happy to get some hints. > > Have a nice day and take care > > Andreas > > P.S.: The Stack Trace contains the following lines: > > java.lang.NoClassDefFoundError: org/aspectj/lang/Signature > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) > at java.lang.Class.getConstructor0(Unknown Source) > at java.lang.Class.newInstance0 (Unknown Source) > at java.lang.Class.newInstance(Unknown Source) > at > net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.registerSQLDriver(SQLDriverManager.java:75) > at > net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager$MyDriverListener.propertyChange > > (SQLDriverManager.java:191) > at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) > at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) > at > net.sourceforge.squirrel_sql.fw.util.PropertyChangeReporter.firePropertyChange > > (PropertyChangeReporter.java:63) > at > net.sourceforge.squirrel_sql.fw.sql.SQLDriver.setJarFileNames(SQLDriver.java:281) > at > net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.applyFromDialog(DriverInternalFrame.java > > :253) > at > net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.performOk(DriverInternalFrame.java:230) > at > net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.access$200(DriverInternalFrame.java > > :60) > at > net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame$3.actionPerformed(DriverInternalFrame.java:382) > at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) > at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source) > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.setPressed(Unknown Source) > at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (Unknown > Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at javax.swing.JComponent.processMouseEvent(Unknown Source) > at java.awt.Component.processEvent(Unknown Source) > at java.awt.Container.processEvent (Unknown Source) > at java.awt.Component.dispatchEventImpl(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.LightweightDispatcher.retargetMouseEvent (Unknown Source) > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Window.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent > (Application.java:168) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents (Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Squirrel-sql-users mailing list > Squirrel-sql-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Connecting to DB2, GarethH |
|---|---|
| Next by Date: | Re: Connecting to DB2, Robert Manning |
| Previous by Thread: | Error "org/aspectj/lang/Signature" when using mysql-connector-java-5.0.5, CptBlaubaer |
| Next by Thread: | Connecting to DB2, GarethH |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |