After removing all beanvalidation related stuff the deployment is
successful and the initializers work fine.

Could it be again something with JBoss ?
The change related to this problem is that wicket.properties has been moved
from / (i.e. the root of the classpath) to /META-INF/wicket/**
I am not sure whether JBoss doesn't do something special with /META-INF/**
...

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Oct 14, 2014 at 5:57 PM, Martin Grigorov <[email protected]>
wrote:

> Deploying in Tomcat fails with:
>
> Caused by: java.lang.ClassNotFoundException:
> javax.validation.constraints.Pattern$Flag
> at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1293)
> at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1145)
> ... 51 more
>
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Oct 14, 2014 at 5:54 PM, Martin Grigorov <[email protected]>
> wrote:
>
>> Works fine in embedded Jetty.
>> Let's see in Tomcat..
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Tue, Oct 14, 2014 at 5:48 PM, Martin Grigorov <[email protected]>
>> wrote:
>>
>>> Let me see.
>>>
>>> Martin Grigorov
>>> Wicket Training and Consulting
>>> https://twitter.com/mtgrigorov
>>>
>>> On Tue, Oct 14, 2014 at 5:45 PM, Sebastien <[email protected]> wrote:
>>>
>>>> Hi devs,
>>>>
>>>> I've got an issue with 7.0.0-SNAPSHOT which is/was not present in M3; it
>>>> seems that Wicket extensions initializer is not called (no "init: Wicket
>>>> extensions initializer" in the log).
>>>>
>>>> At least the exact error I have is:
>>>>
>>>> java.util.MissingResourceException: Unable to find property:
>>>> 'datatable.no-records-found' for component:
>>>> datatable:bottomToolbars:toolbars:2:td:msg
>>>> [class=org.apache.wicket.markup.html.basic.Label]. Locale: null,
>>>> style: null
>>>>      at org.apache.wicket.Localizer.getString(Localizer.java:237)
>>>>
>>>>
>>>> Thanks & best regards,
>>>> Sebastien
>>>>
>>>
>>>
>>
>

Reply via email to