Caused by: java.lang.ClassNotFoundException: org.vaadin.addon.leaflet.client.LeafletControlState
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
… 50 more
I stumbled upon that just a couple of hours ago too. Seems the v-leaflet-draw addon is incompatible to v-leaflet version 0.6.3. Try using 0.6.1 instead and at least it compiles, although I couldn’t get it to do any actual drawing yet…
BTW. Have you considered using v-leaflet-editable? It probably has the exact same issue with the latest v-leaflet version, but I find it more complete editing addon for Leaflet that the Draw. E.g. it supports polygons with holes.
hello:
try to add v-leaflet-draw to my project without succes.
when build crash…
i have a custom widgetset and i can not find information about with connector a need to add to my optimizedconnector. (i guest is over here the problem).
part of my problem
Tracing compile failure path for type ‘org.vaadin.addon.leaflet.draw.client.LeafletDrawEditingConnector’
[INFO]
[ERROR]
Errors in ‘jar:file:/home/dev/.m2/repository/org/vaadin/addon/v-leaflet-draw/0.6.6/v-leaflet-draw-0.6.6.jar!/org/vaadin/addon/leaflet/draw/client/LeafletDrawEditingConnector.java’
[INFO]
[ERROR]
Line 72: The method disable() is undefined for the type EditableFeature
[INFO]
[ERROR]
Line 64: The method enable() is undefined for the type EditableFeature
i add this connectors without succes
eagerConnectors.add(LDraw.class.getName());
eagerConnectors.add(LeafletDrawConnector.class.getName());
eagerConnectors.add(LeafletDrawPolylineConnector.class.getName());
eagerConnectors.add(LeafletDrawCircleConnector.class.getName());
eagerConnectors.add(LeafletDrawCircleMarkerConnector.class.getName());
eagerConnectors.add(LeafletDrawPolygonConnector.class.getName());
eagerConnectors.add(LeafletDrawMarkerConnector.class.getName());
eagerConnectors.add(LeafletDrawEditingConnector.class.getName());
eagerConnectors.add(AbstractLeafletVectorConnector.class.getName());
Maybe you have some version conflicts? You seem to define the GWT dependencies directly as well. You should get those as transitive dependencies as well. And then make sure you have latest v7 compatible versions of all add-ons.