[ 
https://issues.apache.org/jira/browse/WICKET-5825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14343299#comment-14343299
 ] 

Tobias Soloschenko edited comment on WICKET-5825 at 3/2/15 4:08 PM:
--------------------------------------------------------------------

Ok, the server is providing the api 1.0.x, but because hibernate-validator has 
been upgraded to 5.x the dependency must be given to the project dependencies 
(because of new spec JSR-303 -> JSR-349):

http://stackoverflow.com/questions/14730329/jpa-2-0-exception-to-use-javax-validation-package-in-jpa-2-0

The exception is not the same, but the reason which leads to the exception is 
the same.

I add the validation dependency 1.1.x and we have to try it again.


was (Author: klopfdreh):
Ok, the server is providing the api 1.0.x, but because hibernate-validator has 
been upgraded to 5.x the dependency must be given to the project dependencies 
(because of new spec JSR-303 -> JSR-349):

http://stackoverflow.com/questions/14730329/jpa-2-0-exception-to-use-javax-validation-package-in-jpa-2-0

I add the validation dependency 1.1.x and we have to try it again.

> Deployment of wicket-examples.war fails in Tomcat
> -------------------------------------------------
>
>                 Key: WICKET-5825
>                 URL: https://issues.apache.org/jira/browse/WICKET-5825
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-examples
>    Affects Versions: 7.0.0-M5
>            Reporter: Martin Grigorov
>
> Trying to deploy wicket-examples.war in Tomcat 7(.0.55) and 8(.0.17) fails 
> with:
> Caused by: java.lang.ClassNotFoundException: 
> javax.validation.constraints.Pattern$Flag
>       at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
>       at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
>       ... 51 more
> It seems javax-validation-api.jar should be added to the dependencies ?!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to