V-Leaflet with MarkerCluster

Hi, I’m testing with the V-Leaflet addon, and I was trying to include a MarkerCluster in a map, but I get an exception compiling the project:

Loading inherited module 'org.vaadin.addon.leaflet.markercluster.Widgetset' [ERROR] Line 7: Unexpected exception while processing element 'inherits' java.lang.NullPointerException at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:324) ... I’m using the V-Leaflet add-on version 0.5.6, and the V-Leaflet Markercluster extension version 0.4.5.

Anybody have a clue about what might be happening?

(I’ve already added the inherits in the widgetset description file)

Thanks in advance and regards,
Martin

Hi Martin,

Please make sure that you also have g-leaflet in your build path. Are you using Maven to build your project?

-Matti

Matti, many thanks for your work and your answer.

That was indeed the cause of my problem: I’ve just added the g-leaflet jar to my project and now it’s working perfectly.

Really appreciate your time,
Martin