How to use RatingStars?

I’ve tried the RatingStars addon. I downloaded the latest version and copied it into the WEB-INF/lib folder. But it didn’t worked. When I start the application, I get the following error:

Widgetset does not contain implementation for org.vaadin.teemu.ratingstars.RatingStars. Check its @ClientWidget mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to add-on instructions. Unrendered UIDL:
org.vaadin.teemu.ratingstars.RatingStars(NO CLIENT IMPLEMENTATION FOUND) id=PID44 caption=TRALALAL: maxValue=5 animated=true valueCaptions={}

thread, which I don’t understand good, how the problem solved is, I’ve found that i should add into gwt.xml. That didn’t helped at all.

My code:

  HorizontalLayout layout = new HorizontalLayout();
        RatingStars test = new RatingStars();
        test.setCaption("TRALALAL: ");

You have to compile your widgetset (java to js transformation that makes vaadin work in browsers). Check this article: