How to use Vaadin Charts in an Maven/Java/Vaadin Projekt

Hi,

i wrote mit first java only vaadin application. After this i now want to improve the visual side from my dataset by using vaadin charts. The problem is i cant get it work. Iam using Vaadin 8 latest version.

I add this to my pom File:



<repositories>
		<repository>
   		<id>vaadin-addons</id>
   		<url>http://maven.vaadin.com/vaadin-addons</url>
		</repository>
</repositories>

<dependency>
    		<groupId>com.vaadin</groupId>
    		<artifactId>vaadin-charts</artifactId>
    		<version>4.0.4</version>
</dependency>

In addition i installed the vaadin plugin to compile the widgetset for eclispe. But this does not work.

But this does not work.

What exactly does not work? Do you get any error messages?

Sorry for the latency but i solved it today. The failure was that the pom couldn`t resolve the Version of the vaadin-maven-plugin. I looks like this:

<plugin>
                <groupId>com.vaadin</groupId>
                <artifactId>vaadin-maven-plugin</artifactId>
                <version>${vaadin.version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>update-theme</goal>
                            <goal>update-widgetset</goal>
                            <goal>compile</goal>
                            <goal>compile-theme</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

I switched the version to a “fix” one and it works:

<version>8.3.3</version>

After this i had to switch the way i use the test licence from the integration as parameter in eclipse like here described:
https://vaadin.com/docs/v8/framework/addons/addons-cval.html

to a licence file in my home directory. After this i could compile the widgetset and get the charts work.

Have a nice day =)