You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@streampipes.apache.org by hz...@gmx.de on 2020/07/07 07:23:15 UTC
Problem with javax/validation/ClockProvider
Hey guys
I'm just doing the first goattempts with the product and I'm just getting
involved in the tutorials.
I'm struggling with the following exception:
Caused by: java.lang.NoClassDefFoundError: javax/validation/ClockProvider
at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:33)
at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:276)
at org.springframework.boot.validation.MessageInterpolatorFactory.getObject(MessageInterpolatorFactory.java:53)
at org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration.defaultValidator(ValidationAutoConfiguration.java:57)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
... 19 common frames omitted
Caused by: java.lang.ClassNotFoundException: javax.validation.ClockProvider
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 28 common frames omitted
As per documentation in the tutorial I added the following lines to the
dependencies section:
**< dependency> **
** <groupId>javax.validation</groupId> **
** <artifactId>validation-api</artifactId>**
** <version>2.0.1.Final</version>**
**< /dependency>**
I would be happy about a hint
Cheers
Hartmut