0

google maps demo code has wrong version in pom

asked 2012-12-23 09:21:18 +0800

simbo gravatar image simbo
74 2

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

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-12-24 08:54:49 +0800

samchuang gravatar image samchuang
4084 4

hi, please post issue at

http://code.google.com/p/zkgmapsz/

link publish delete flag offensive edit

answered 2012-12-25 05:32:40 +0800

hayley4tar gravatar image hayley4tar
3

cool

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-12-23 09:21:18 +0800

Seen: 85 times

Last updated: Dec 25 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More