You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Hieu Phan Thanh <hi...@Cybersoft-VN.com> on 2006/10/11 11:42:28 UTC

[MINA 1.x] Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/Executor

Hello,
I'm very confusing. The first time I try to run the application from
mina 0.8.x to 1.x. The exception below is occurred. 
Could you please help me to solve the problem? Thank you so much.

=====================================================================
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
edu/emory/mathcs/backport/java/util/concurrent/Executor
	at
bc.manage.BcSessionManager.getSession(BcSessionManager.java:101)
	at
bc.manage.BcSessionManager.getConnection(BcSessionManager.java:88)
	at
bc.gui.BCSimulatorFrame$3.actionPerformed(BCSimulatorFrame.java:278)
	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.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)
=================================================================

Thanks & best regards,
Hieu Phan.



Re: [MINA 1.x] Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/Executor

Posted by Jeroen Brattinga <je...@gmail.com>.
For Mina 1.x you'll need the concurrent backport library (
http://dcl.mathcs.emory.edu/util/backport-util-concurrent/). Or -if your
target platform is Java 1.5 and higer- you could change all
edu.emory.mathcs.backport.java.util.concurrent references to
java.util.concurrent (see another post in this mailing list for a simple
find/replace action).


Jeroen Brattinga

2006/10/11, Hieu Phan Thanh <hi...@cybersoft-vn.com>:
>
> Hello,
> I'm very confusing. The first time I try to run the application from
> mina 0.8.x to 1.x. The exception below is occurred.
> Could you please help me to solve the problem? Thank you so much.
>
> =====================================================================
> Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
> edu/emory/mathcs/backport/java/util/concurrent/Executor
>         at
> <snip>
> =================================================================
>
> Thanks & best regards,
> Hieu Phan.
>
>
>


-- 
Jeroen Brattinga