I'm running unit tests with TestNG and EasyMock and I'm running into this error:
Here is the line that this happens on:
It seems that it can't find the Type class from SmartGWT's ClickEvent class. I've included all the GWT jars in my classpath but it still doesn't work.
I'm using SmartGWT 2.5p, GWT 2.0.3 and running my TestNG cases out of Eclipse.
Any ideas?
I did some searching around and it seems like com.google.web.bindery.event.shared.Event.Type is included in the GWT 2.3 jars. Does SmartGWT 2.5p depend on GWT 2.3? If so, is there a way around this (as we're not upgrading anytime soon)?
Thanks!
Code:
NoClassDefFoundError: com/google/web/bindery/event/shared/Event$Type at java.lang.Class.getDeclaredMethods0 at java.lang.Class.privateGetDeclaredMethods at java.lang.Class.getMethod0 at java.lang.Class.getMethod at org.easymock.internal.ObjectMethodsFilter.<init> at org.easymock.classextension.MocksControl.createMock at org.easymock.classextension.EasyMock.createMock
Code:
ClickEvent clickEvent = EasyMock.createMock(ClickEvent.class);
I'm using SmartGWT 2.5p, GWT 2.0.3 and running my TestNG cases out of Eclipse.
Any ideas?
I did some searching around and it seems like com.google.web.bindery.event.shared.Event.Type is included in the GWT 2.3 jars. Does SmartGWT 2.5p depend on GWT 2.3? If so, is there a way around this (as we're not upgrading anytime soon)?
Thanks!
Comment