wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Haitz <michael.ha...@1und1.de>
Subject Re: Wicket Bootstrap 3
Date Mon, 07 Oct 2013 16:53:48 GMT
Hi,

there's an issue for that on github, the problem is related to guava 15.0 which contains a
non cdi1.0 compatible beans.xml file.

https://github.com/l0rdn1kk0n/wicket-bootstrap/issues/234


cheers,
Michael

Am 07.10.2013 um 17:21 schrieb David Beer <david.m.beer@gmail.com>:

> Hi All
> 
> I  am trying out Wicket Bootstrap3 on JBoss AS 7.1.1 and am getting the
> following error about not being able to find the bootstrap resources in the
> webjars.
> 
> 16:15:54,432 WARN  [RequestCycleExtra] (http--127.0.0.1-8080-2) Handling
> the following exception: org.apache.wicket.WicketRuntimeException:
> java.lang.IllegalArgumentException:
> /webjars/bootstrap/3.0.0/css/bootstrap.css could not be found. Make sure
> you've added the corresponding WebJar and please check for typos.
>    at
> de.agilecoders.wicket.webjars.util.file.WebjarsResourceFinder.find(WebjarsResourceFinder.java:90)
> [wicket-webjars-0.3.0.jar:]
>    at
> org.apache.wicket.core.util.resource.locator.ResourceStreamLocator.locate(ResourceStreamLocator.java:130)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.core.util.resource.locator.ResourceStreamLocator.locate(ResourceStreamLocator.java:164)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.core.util.resource.locator.caching.CachingResourceStreamLocator.locate(CachingResourceStreamLocator.java:122)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.resource.PackageResource.exists(PackageResource.java:522)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.resource.PackageResource.exists(PackageResource.java:498)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.resource.ResourceReferenceRegistry$DefaultResourceReferenceFactory.create(ResourceReferenceRegistry.java:79)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.resource.ResourceReferenceRegistry.createDefaultResourceReference(ResourceReferenceRegistry.java:398)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.resource.ResourceReferenceRegistry.addDefaultResourceReference(ResourceReferenceRegistry.java:340)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.resource.ResourceReferenceRegistry.getResourceReference(ResourceReferenceRegistry.java:265)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.resource.ResourceReferenceRegistry.getResourceReference(ResourceReferenceRegistry.java:217)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.core.request.mapper.BasicResourceReferenceMapper.mapRequest(BasicResourceReferenceMapper.java:133)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.mapper.ParentPathReferenceRewriter.mapRequest(ParentPathReferenceRewriter.java:84)
> [wicket-request-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(CompoundRequestMapper.java:152)
> [wicket-request-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(RequestCycle.java:190)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:215)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
> [wicket-core-6.11.0.jar:6.11.0]
>    at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> [jbossweb-7.0.13.Final.jar:]
>    at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> [jbossweb-7.0.13.Final.jar:]
>    at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
> [jbossweb-7.0.13.Final.jar:]
>    at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> [jbossweb-7.0.13.Final.jar:]
>    at
> org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
> [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
>    at
> org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
> [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
>    at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
> [jbossweb-7.0.13.Final.jar:]
>    at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [jbossweb-7.0.13.Final.jar:]
>    at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [jbossweb-7.0.13.Final.jar:]
>    at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
> [jbossweb-7.0.13.Final.jar:]
>    at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
> [jbossweb-7.0.13.Final.jar:]
>    at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
> [jbossweb-7.0.13.Final.jar:]
>    at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
> [jbossweb-7.0.13.Final.jar:]
>    at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
> Caused by: java.lang.IllegalArgumentException:
> /webjars/bootstrap/3.0.0/css/bootstrap.css could not be found. Make sure
> you've added the corresponding WebJar and please check for typos.
>    at
> org.webjars.WebJarAssetLocator.throwNotFoundException(WebJarAssetLocator.java:190)
> [webjars-locator-0.5.jar:]
>    at
> org.webjars.WebJarAssetLocator.getFullPath(WebJarAssetLocator.java:211)
> [webjars-locator-0.5.jar:]
>    at
> de.agilecoders.wicket.webjars.util.file.WebjarsResourceFinder.find(WebjarsResourceFinder.java:82)
> [wicket-webjars-0.3.0.jar:]
>    ... 33 more
> 
> I have added the VFS jar file and configured the VFS and Bootstrap the same
> way as in 0.8.4. Is there anything else I could do try and get it to find
> the resources.
> 
> David


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message