gmap2-examples broken since updates

View: New views
3 Messages — Rating Filter:   Alert me  

gmap2-examples broken since updates

by rossputin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Guys.

Hoping you can help.  After updating wicket 1.4-SNAPSHOT, and wicket-stuff from trunk I get the following error when trying to look at the samples.

org.apache.wicket.markup.html.IHeaderResponse.renderOnEventJavacript(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

java.lang.NoSuchMethodError: org.apache.wicket.markup.html.IHeaderResponse.renderOnEventJavacript(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
        at wicket.contrib.gmap.GMapHeaderContributor$1.renderHead(GMapHeaderContributor.java:47)

My Maven pom configuration uses:

groupId=org.wicketstuff
artifactId=gmap2
version=1.4-SNAPSHOT

Thanks in advance for your help.

Regards,

Ross

Re: gmap2-examples broken since updates

by rossputin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fixed...

I wiped the wicket-1.4-SNAPSHOT content in my local repository and tried again... the very latest artifact downloaded, and everything works fine now.

rossputin wrote:
Hi Guys.

Hoping you can help.  After updating wicket 1.4-SNAPSHOT, and wicket-stuff from trunk I get the following error when trying to look at the samples.

org.apache.wicket.markup.html.IHeaderResponse.renderOnEventJavacript(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

java.lang.NoSuchMethodError: org.apache.wicket.markup.html.IHeaderResponse.renderOnEventJavacript(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
        at wicket.contrib.gmap.GMapHeaderContributor$1.renderHead(GMapHeaderContributor.java:47)

My Maven pom configuration uses:

groupId=org.wicketstuff
artifactId=gmap2
version=1.4-SNAPSHOT

Thanks in advance for your help.

Regards,

Ross

Re: gmap2-examples broken since updates

by rossputin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmm, I spoke too soon.

Updating my wicket-1.4-SNAPSHOT from the wicketstuff maven repository fixed the gmap issue, but introduced a problem with my ContextImage instances in my webapp, the path at runtime is now wrong, the image part of the path is missing, and I need to prepend '../' to the beginning.

What used to result in 'http://localhost:8080/myapp/images/works/image.jpg'

now results in 'http://localhost:8080/myapp/currentfolder/images/works'

This is causing me problems..

can anyone help?

Regards,

Ross


rossputin wrote:
Hi Guys.

Hoping you can help.  After updating wicket 1.4-SNAPSHOT, and wicket-stuff from trunk I get the following error when trying to look at the samples.

org.apache.wicket.markup.html.IHeaderResponse.renderOnEventJavacript(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

java.lang.NoSuchMethodError: org.apache.wicket.markup.html.IHeaderResponse.renderOnEventJavacript(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
        at wicket.contrib.gmap.GMapHeaderContributor$1.renderHead(GMapHeaderContributor.java:47)

My Maven pom configuration uses:

groupId=org.wicketstuff
artifactId=gmap2
version=1.4-SNAPSHOT

Thanks in advance for your help.

Regards,

Ross