Oi, preciso de uma ajuda para gerar um jar de uma aplicação swing e que sejam incluídos as libs que o projeto usa. Já pesquisei no fórum não deu certo.
Tentei tb o plugin do link abaixo seguindo corretamente a forma de instalação no eclipse 3.3.1.1 mas não apareceu o item pra gerar o jar do plugin.
http://fjep.sourceforge.net/
Ao chamar o jar gerado pelo eclipse, dá o erro abaixo devido à falta da lib do conector com o MySQL.
SEVERE: null
java.sql.SQLException: com.mysql.jdbc.Driver
at com.br.sistemasalaoloja.connectionfactory.ConnectionFactory.getConnection(ConnectionFactory.java:26)
at com.br.sistemasalaoloja.dao.UserDaoImplementation.(UserDaoImplementation.java:25)
at com.br.sistemasalaoloja.gui.LoguiGUI.jButtonOkActionPerformed(LoguiGUI.java:138)
at com.br.sistemasalaoloja.gui.LoguiGUI.access$0(LoguiGUI.java:135)
at com.br.sistemasalaoloja.gui.LoguiGUI$1.actionPerformed(LoguiGUI.java:64)
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.AWTEventMulticaster.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 java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(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)