Chart Addon and CDI

I want to use the Vaadin Charts Addon. In my test projekt (Vaadin 7) without the vaadin-cdi implementation it works well.

But than i implemented CDI:

  • changed web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="" xmlns="" xmlns:web="" xsi:schemaLocation="" id="WebApp_ID" version="2.5">  
  • changed VaadinUI → add Annotation

  • i have compiled the widgetset again and the
    file looks right and have the two inherits for the addon.

But the browser always shows the error that the widgetset for the addon isn’t compiled instead of the component.

Widgetset does not contain implementation for com.vaadin.addon.charts.Chart. Check its component connector’s @Connect 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.

Do i have to add another annotation?

Hi Daniel,

I had the same problem and solved it by configuring the VaadinServlet again in the web.xml:

<web-app version="3.0" xmlns="" xmlns:xsi=""



    <!-- If not using the default widget set-->


The last servlet mapping is needed because I do not map directly to “/*”:


Hope that helps.

BTW: The web.xml you posted


yes thats the solution. thanks you a lot :slight_smile: