You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create a Vaadin 8 CRUD example using vaadin-archetype-application-example by Maven as explained in Vaadin.com "Get Started" section (https://www.youtube.com/watch?v=sMGHSK_97NI). But I faced the following error when I wanted to log in:
java.lang.IllegalStateException: BeanValidationBinder cannot be used because a JSR-303 Bean Validation implementation not found on the classpath or could not be initialized. Use Binder instead
I realised that it’s because I’m using Java 10 and it does not include JAXB API in its default class path. So, as explained here: https://stackoverflow.com/a/43574427/5613292 , I added the following dependencies to my pom.xml and the problem is resolved:
I tried to create a Vaadin 8 CRUD example using vaadin-archetype-application-example by Maven as explained in Vaadin.com "Get Started" section (https://www.youtube.com/watch?v=sMGHSK_97NI). But I faced the following error when I wanted to log in:
java.lang.IllegalStateException: BeanValidationBinder cannot be used because a JSR-303 Bean Validation implementation not found on the classpath or could not be initialized. Use Binder instead
I realised that it’s because I’m using Java 10 and it does not include JAXB API in its default class path. So, as explained here: https://stackoverflow.com/a/43574427/5613292 , I added the following dependencies to my pom.xml and the problem is resolved:
So, I think it must be resolved in the same way in the maven archetype.
The text was updated successfully, but these errors were encountered: