Hello,
we are trying to deploy the following stack using the MVN procedure:
- JDK-8.111
- MVN-3.10
- MariaDB
- Wildfly10 / Tomcat8
- Syncope2.0.1
we followed the two documentations presented here:
- http://syncope.apache.org/docs/getting-started.html#maven-project
- http://syncope.apache.org/docs/reference-guide.html#mariadb
-
http://syncope.apache.org/docs/reference-guide.html#apache-tomcat-8-and-8-5
- http://syncope.apache.org/docs/reference-guide.html#wildfly-9-and-10
and we tried to configure two different archetypes, one for Tomcat and
the other for Wildfly.
Using Wildfly we deploy the JDBC driver of MariaDB, we test the
connectivity and it's working.
We deploy the syncope.war but it fails.
We deploy syncope-console.war and syncope-enduser.war and they can be
deployed.
We deploy one more time the syncope.war and we get this error again:
Cannot upload deployment: {"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"syncope.war\".WeldStartService" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"syncope.war\".WeldStartService: Failed to start
service Caused by: org.jboss.weld.exceptions.DeploymentException:
WELD-001409: Ambiguous dependencies for type Validator with qualifiers
@Default at injection point [UnbackedAnnotatedField] @Inject private
org.apache.bval.cdi.BValInterceptor.validator at
org.apache.bval.cdi.BValInterceptor.validator(BValInterceptor.java:0)
Possible dependencies: - ValidatorBean
[id=org.hibernate.validator.internal.cdi.ValidatorBean_default], -
org.apache.bval.cdi.ValidatorBean@10e0f68c "},"WFLYCTL0412: Required
services that are not installed:" =>
["jboss.deployment.unit.\"syncope.war\".WeldStartService"],"WFLYCTL0180:
Services with missing/unavailable dependencies" => undefined}
Is there any step missing?
Thanks