we’re trying to add custom validator following documentation here: (v13.3.0) https://documentation.bloomreach.com/library/concepts/plugins/create-a-custom-field-validator.html
Added following dependency to pom file to extend custom validator from “org.onehippo.cms.services.validation.api.Validator
” :
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-services-validation</artifactId>
</dependency>
Following that the code was able compile just fine, but throws the missing dependency error upon server start:
[ **INFO** ] [talledLocalContainer] 24.09.2019 23:14:33 ERROR main [RepositoryServlet.init:246] Error while setting up JCR repository:
[ **INFO** ] [talledLocalContainer] javax.jcr.RepositoryException: unchecked exception: org.onehippo.cm.model.impl.exceptions.MissingDependencyException: Project 'hippo-services-validation' has a missing dependency 'hippo-repository'
[ **INFO** ] [talledLocalContainer] Caused by: org.onehippo.cm.model.impl.exceptions.MissingDependencyException: Project 'hippo-services-validation' has a missing dependency 'hippo-repository'
How can we resolve the missing dependency ?
Hello @Jaimin_Patel, have you resolved the issue? Please, share any idea if you have some 
Why did you have to add that dependency manually? The hcm-module.yaml file in that jar is as follows:
group: hippo-cms
project:
name: hippo-services-validation
after: hippo-repository
module: hippo-services-validation
So it has an hcm module dependency on hippo-repository hcm module. Note that this hcm module is part of the hippo-cms group too, which should hint that you shouldn’t be adding this dependency yourself. It’s part of the product.
Remove the dependency and it should work if you are running 13.3.0. Run the following to see where that dependency is coming from:
mvn dependency:tree -Dincludes=:hippo-services-validation:
You’ll see something like:
[ INFO ] org.example:myproject-cms:war:0.1.0-SNAPSHOT
[ INFO ] - org.example:myproject-cms-dependencies:pom:0.1.0-SNAPSHOT:compile
[ INFO ] - org.onehippo.cms7:hippo-package-cms-dependencies:pom:13.3.0:compile
[ INFO ] - org.onehippo.cms7:hippo-cms-dependencies:pom:13.3.0:compile
[ INFO ] - org.onehippo.cms7:hippo-cms-editor-frontend:jar:13.3.0:compile
[ INFO ] - org.onehippo.cms7:hippo-services-validation:jar:13.3.0:compile
It’s coming from the hippo-cms-editor-frontend jar
The solution is to add validator classes to cms module. hope this helps.