Good evening.
I would like to display geoPoint on a map embedded into my vaadin application. So, i followed the related tutorial and my project build well.
I added following dependencies to my pom.xml :
<dependency>
<groupId>org.vaadin.addon</groupId>
<artifactId>v-ol3</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.vaadin</groupId>
<artifactId>gwt-ol3</artifactId>
<version>2.0</version>
</dependency
But, at the runtime, i’ve got error : ava.lang.NoClassDefFoundError: org/vaadin/addon/vol3/layer/OLLayer.
I tried some maven update, clean compile, clean install and all commands succeeded. But the problem is still there…
There is my code which call OL3 :
OLMap map=new OLMap();
map.setView(createView());
map.setSizeFull();
vl.addComponent(map);
vl.setExpandRatio(map, 1.0f);
OLVectorLayer vectorLayer=new OLVectorLayer(createVectorSource());
vectorLayer.setLayerVisible(false);
map.addLayer(vectorLayer)
I think need help…
Thanks.