1
votes

I changed my IDE from Eclipse Java EE Edition to IntelliJ IDEA. Currently I am developing a JSF project. The project can be deployed without errors, but my Bean Validators defined by annotation like e.g. this:

@Size(max = 8, message = "abc")
private String  username;

are never invoked. Any suggestions where the problem could be? In Eclipse everything worked correct and the Bean-Validation-Toolbar of IntelliJ also detects the validation constraints correctly.

I am using JSF Mojarra 2.2.8, Hibernate Validator 5.1.3 Final, Eclipse Luna and IntelliJ 14.

1
This is not dependent on IDE, but on webapp configuration and server. Tell a bit more about server make/version used and any validation-related settings in web.xml. - BalusC

1 Answers

-1
votes

I don't had any special configuration in web.xml, Server: Apache Tomcat 8.0.22

I downgraded now to JSF Mojarra 2.2.1 and Hibernate Validator 5.0.1 and everything works fine.