Hi,

I am not able to import the following through webjar as maven dependency in
my project.

https://github.com/flesler/jquery.scrollTo

I deployed it to the webjar using *bower install jquery.scrollTo* and it is
also visible on the webjars.org

<dependency>
    <groupId>org.webjars.bowergithub.flesler</groupId>
    <artifactId>jquery.scrollto</artifactId>
    <version>2.1.1</version>
</dependency>

Add it to the project like

aResponse.render(JavaScriptHeaderItem.forReference(new
WebjarsJavaScriptResourceReference("jquery.scrollto/current/jquery.scrollto.js")));



The wicket shows the error


GET
http://localhost:8080/wicket/resource/de.agilecoders.wicket.webjars.request.resource.WebjarsJavaScriptResourceReference/webjars/jquery.scrollto/null/jquery.scrollto.js
net::ERR_ABORTED 404

What could be the problem?

Best Regards,
SIbgha

Reply via email to