Unable to use swfObject with Vaadin 6.7.1

Hello,

I want to embed a flash object on my page, and was trying to use the swfObject add-on. (swfobject-1.2.1.jar)

When eclipse complies the widget set, the following error occurs:-

Starting GWT compiler
Loading inherited module ‘org.vaadin.swfobject.SwfobjectWidgetset’
Loading inherited module ‘org.vaadin.rpc.WidgetRPC’
[ERROR]
Unable to find ‘org/vaadin/rpc/WidgetRPC.gwt.xml’ on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[ERROR]
Line 7: Unexpected exception while processing element ‘inherits’
c

Please advise.

Regards.

Hi,

Seems like you forgot about the dependency of SwfObject add-on, which is
Widget RPC
.

cheers,
sasha