Boa noite pessoal…
estou tentando exportar um projeto para Runnable Jar…
quando executo por dentro do eclipse vai tudo blz…
mas quando exportado (tanto com as libs incorporadas quanto em uma subpasta) ele dá o seguinte erro…
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apach
e/commons/javaflow/bytecode/Continuable
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:624)
at br.com.rcSYS.utils.Relatorios.gerarRelatorioInicial(Relatorios.java:7
8)
at br.com.rcSYS.forms.FrmSplash.prepararAcoes(FrmSplash.java:67)
at br.com.rcSYS.forms.FrmSplash.initialize(FrmSplash.java:36)
at br.com.rcSYS.forms.FrmSplash.<init>(FrmSplash.java:25)
at br.com.rcSYS.forms.FrmPrincipal$41.run(FrmPrincipal.java:828)
at java.awt.event.InvocationEvent.dispatch(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)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.javaflow.bytecod
e.Continuable
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 25 more
vlw
obs: estou usando para compilar os relatórios o iReport 3.7.5 e para o eclipse ganymede