You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Tobias Soloschenko (JIRA)" <ji...@apache.org> on 2015/03/02 10:43:05 UTC
[jira] [Commented] (WICKET-5825) Deployment of wicket-examples.war
fails in Tomcat
[ https://issues.apache.org/jira/browse/WICKET-5825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14342980#comment-14342980 ]
Tobias Soloschenko commented on WICKET-5825:
--------------------------------------------
Since commit:
https://github.com/apache/wicket/commit/bf118fbf67ab4d8f39aba57ddca746390eb07b8a#diff-1e12ef18fcf88b883ec6c8e33acaa471
The dependency:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.1.2.Final</version>
</dependency>
has been replaced by:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<scope>compile</scope>
</dependency>
Maybe just remove the scope and try 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)