Erro ao salvar em xls

2 respostas
P

alguém sabe o que pode ser isto.
grato.

Exception in thread AWT-EventQueue-2 java.lang.NoClassDefFoundError: org/apache/commons/collections/ReferenceMap

at net.sf.jasperreports.engine.export.JRXlsExporter.(JRXlsExporter.java:85)

at net.sf.jasperreports.view.save.JRSingleSheetXlsSaveContributor.save(JRSingleSheetXlsSaveContributor.java:107)

at net.sf.jasperreports.view.JRViewer.btnSaveActionPerformed(JRViewer.java:939)

at net.sf.jasperreports.view.JRViewer$2.actionPerformed(JRViewer.java:493)

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.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

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)

2 Respostas

J

Como o próprio erro diz, não foi encontrada a classe
org/apache/commons/collections/ReferenceMap.

Reveja aí o seu path onde se encontram as bibliotecas.

P

Desculpa minha falta de conhecimento no assunto, mas qual classe esta faltando e onde ela deveria estar?

valeu

julianostr:
Como o próprio erro diz, não foi encontrada a classe
org/apache/commons/collections/ReferenceMap.

Reveja aí o seu path onde se encontram as bibliotecas.

Criado 20 de abril de 2006
Ultima resposta 27 de abr. de 2006
Respostas 2
Participantes 2