Hi Martin

Thanks for your reply, works a treat add the dependency and the code on the wiki page in the init section of WicketApplication class before bootstrap initialization and all is good.

Thanks

David
On 01/05/13 23:21, Martin Grigorov wrote:
https://code.google.com/p/reflections/wiki/JBossIntegration


On Wed, May 1, 2013 at 9:24 PM, David Beer <david.m.b...@gmail.com> wrote:

Hi All

I have a web project which uses Wicket-Bootstrap for styling and various
other functions. Everything appears to run fine in Tomcat, but I am
starting to add more Java EE stuff and looking at using JBoss As 7. I can
deploy a normal wicket Quickstart with out errors but when I try and deploy
a project with Bootstrap added I get the following error:

20:16:04,296 INFO  [org.jboss.as.server.**deployment] (MSC service thread
1-4) JBAS015876: Starting deployment of "Wicket-Bootstrap-DataTable-1.**
0-SNAPSHOT.war"
20:16:06,002 INFO  [org.apache.wicket.util.file.**WebXmlFile] (MSC
service thread 1-3) web.xml: url mapping found for filter with name
wicket.Wicket-Bootstrap-**DataTable: [/*]
20:16:06,185 INFO  [org.apache.wicket.**Application] (MSC service thread
1-3) [wicket.Wicket-Bootstrap-**DataTable] init: Wicket core library
initializer
20:16:06,193 INFO  [org.apache.wicket.**RequestListenerInterface] (MSC
service thread 1-3) registered listener interface [RequestListenerInterface
name=IBehaviorListener, method=public abstract void
org.apache.wicket.behavior.**IBehaviorListener.onRequest()]
20:16:06,195 INFO  [org.apache.wicket.**RequestListenerInterface] (MSC
service thread 1-3) registered listener interface [RequestListenerInterface
name=IFormSubmitListener, method=public abstract void
org.apache.wicket.markup.html.**form.IFormSubmitListener.**
onFormSubmitted()]
20:16:06,198 INFO  [org.apache.wicket.**RequestListenerInterface] (MSC
service thread 1-3) registered listener interface [RequestListenerInterface
name=ILinkListener, method=public abstract void
org.apache.wicket.markup.html.**link.ILinkListener.**onLinkClicked()]
20:16:06,201 INFO  [org.apache.wicket.**RequestListenerInterface] (MSC
service thread 1-3) registered listener interface [RequestListenerInterface
name=IOnChangeListener, method=public abstract void
org.apache.wicket.markup.html.**form.IOnChangeListener.**
onSelectionChanged()]
20:16:06,213 INFO  [org.apache.wicket.**RequestListenerInterface] (MSC
service thread 1-3) registered listener interface [RequestListenerInterface
name=IRedirectListener, method=public abstract void org.apache.wicket.**
IRedirectListener.onRedirect()**]
20:16:06,215 INFO  [org.apache.wicket.**RequestListenerInterface] (MSC
service thread 1-3) registered listener interface [RequestListenerInterface
name=IResourceListener, method=public abstract void org.apache.wicket.**
IResourceListener.**onResourceRequested()]
20:16:06,216 INFO  [org.apache.wicket.**Application] (MSC service thread
1-3) [wicket.Wicket-Bootstrap-**DataTable] init: Wicket extensions
initializer
20:16:06,379 ERROR [org.reflections.Reflections] (MSC service thread 1-3)
could not create Vfs.Dir from url. ignoring the exception and continuing:
org.reflections.**ReflectionsException: could not create Vfs.Dir from
url, no matching UrlType was found [vfs:/content/Wicket-**
Bootstrap-DataTable-1.0-**SNAPSHOT.war/WEB-INF/lib/**jquery-1.9.0.jar/]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use the
static setDefaultURLTypes(final List<UrlType> urlTypes) or
addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
     at org.reflections.vfs.Vfs.**fromURL(Vfs.java:108)
[reflections-0.9.8.jar:]
     at org.reflections.vfs.Vfs.**fromURL(Vfs.java:90)
[reflections-0.9.8.jar:]
     at org.reflections.Reflections.**scan(Reflections.java:165)
[reflections-0.9.8.jar:]
     at org.reflections.Reflections.<**init>(Reflections.java:94)
[reflections-0.9.8.jar:]
     at de.agilecoders.wicket.webjars.**util.RecentVersionCallable.**
collectRecentVersionFor(**RecentVersionCallable.java:72)
[wicket-webjars-0.2.0.jar:]
     at de.agilecoders.wicket.webjars.**util.RecentVersionCallable.**
call(RecentVersionCallable.**java:62) [wicket-webjars-0.2.0.jar:]
     at de.agilecoders.wicket.webjars.**util.RecentVersionCallable.**
call(RecentVersionCallable.**java:25) [wicket-webjars-0.2.0.jar:]
     at java.util.concurrent.**FutureTask$Sync.innerRun(**FutureTask.java:334)
[rt.jar:1.7.0_21]
     at java.util.concurrent.**FutureTask.run(FutureTask.**java:166)
[rt.jar:1.7.0_21]
     at de.agilecoders.wicket.webjars.**util.WebjarsVersion.**
recentVersion(WebjarsVersion.**java:50) [wicket-webjars-0.2.0.jar:]
     at 
de.agilecoders.wicket.webjars.**util.WebjarsVersion.useRecent(**WebjarsVersion.java:32)
[wicket-webjars-0.2.0.jar:]
     at de.agilecoders.wicket.webjars.**request.resource.**
WebjarsJavaScriptResourceRefer**ence.<init>(**
WebjarsJavaScriptResourceRefer**ence.java:28) [wicket-webjars-0.2.0.jar:]
     at de.agilecoders.wicket.markup.**html.references.**
BootstrapJavaScriptReference.<**init>(**BootstrapJavaScriptReference.**java:38)
[wicket-bootstrap-core-0.8.1.**jar:]
     at de.agilecoders.wicket.markup.**html.references.**
BootstrapJavaScriptReference.<**clinit>(**BootstrapJavaScriptReference.**java:21)
[wicket-bootstrap-core-0.8.1.**jar:]
     at de.agilecoders.wicket.**settings.BootstrapSettings.<**
init>(BootstrapSettings.java:**15) [wicket-bootstrap-core-0.8.1.**jar:]
     at com.copperarrow.example.**wicket.bootstrap.datatable.**
WicketApplication.init(**WicketApplication.java:32) [classes:]
     at org.apache.wicket.Application.**initApplication(Application.**java:818)
[wicket-core-6.6.0.jar:6.6.0]
     at 
org.apache.wicket.protocol.**http.WicketFilter.init(**WicketFilter.java:409)
[wicket-core-6.6.0.jar:6.6.0]
     at 
org.apache.wicket.protocol.**http.WicketFilter.init(**WicketFilter.java:336)
[wicket-core-6.6.0.jar:6.6.0]
     at org.apache.catalina.core.**ApplicationFilterConfig.**getFilter(**
ApplicationFilterConfig.java:**447) [jbossweb-7.0.13.Final.jar:]
     at 
org.apache.catalina.core.**StandardContext.filterStart(**StandardContext.java:3269)
[jbossweb-7.0.13.Final.jar:]
     at 
org.apache.catalina.core.**StandardContext.start(**StandardContext.java:3865)
[jbossweb-7.0.13.Final.jar:]
     at 
org.jboss.as.web.deployment.**WebDeploymentService.start(**WebDeploymentService.java:90)
[jboss-as-web-7.1.1.Final.jar:**7.1.1.Final]
     at org.jboss.msc.service.**ServiceControllerImpl$**
StartTask.startService(**ServiceControllerImpl.java:**1811)
     at org.jboss.msc.service.**ServiceControllerImpl$**StartTask.run(**
ServiceControllerImpl.java:**1746)
     at 
java.util.concurrent.**ThreadPoolExecutor.runWorker(**ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_21]
     at 
java.util.concurrent.**ThreadPoolExecutor$Worker.run(**ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_21]
     at java.lang.Thread.run(Thread.**java:722) [rt.jar:1.7.0_21]


Any thoughts and pointers are welcome. I am using wicket 6.6.0 and
wicket-bootstrap 0.8.1.

Thanks

David

------------------------------**------------------------------**---------
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apache.org<users-unsubscr...@wicket.apache.org>
For additional commands, e-mail: users-h...@wicket.apache.org





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

Reply via email to