-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I downloaded the google maps demo code from the live demo site at http://www.zkoss.org/zkdemo/reporting/google_map. When I build that and run it I get
2012-12-22 18:46:38.978:WARN:oejs.ServletHandler:/google_map.zul org.zkoss.zk.ui.metainfo.PropertyNotFoundException: Method setVersion not found for class org.zkoss.gmaps.Gmaps at org.zkoss.zk.ui.metainfo.Property.resolve(Property.java:186) at org.zkoss.zk.ui.metainfo.Property.assign0(Property.java:202)
editing the pom to set the gmapsz version from 2.x to the latest 3.0.1 fixes it:
<dependency> <groupId>org.zkoss.zkforge</groupId> <artifactId>gmapsz</artifactId> <version>3.0.1</version> </dependency>
It would seem that the demo site download it slightly out of date. there is also a lot of unused cruft in the pom.xml in that demo download (e.g. it would not run at all due to a reference to pivottable-1.0.1-FL-20120217.jar which does not seem to be in the repo so I simply deleted from the pom to get it working.
Simon
cool
Asked: 2012-12-23 09:21:18 +0800
Seen: 85 times
Last updated: Dec 25 '12