Hi TomEE 1 targets JavaEE 6 and doesn't support Bean Validation 1.1 - TomEE 7M1 does.
If syncope doesn't need bval 1.1 you can just downgrade hibernate-validator - or completely remove it if syncope doesn't need hibernate itself but just a bval implementation. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2016-02-16 20:02 GMT+01:00 smoral <[email protected]>: > Hello, > I'm Santiago Moral and I'm writing in order to ask if there is a way to use > TomEE like application server for Apache Syncope? > > I've proved combining apache-tomee-1.7.3-plume and apache-syncope-1.2.2. > But > I think I've had dependencies conflicts. > > This is de exception log: > > SEVERE: Unable to deploy collapsed ear in war > StandardEngine[Catalina].StandardHost[localhost].StandardContext[/syncope] > org.apache.openejb.OpenEJBException: Creating application failed: > /usr/local/apache-tomee-plume-1.7.3/webapps/syncope: > > javax.validation.spi.ConfigurationState.getParameterNameProvider()Ljavax/validation/ParameterNameProvider; > at > > org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:843) > at > > org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:677) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1261) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1100) > at > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130) > at > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) > at > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > at > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5419) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) > at > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095) > at > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1930) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NoSuchMethodError: > > javax.validation.spi.ConfigurationState.getParameterNameProvider()Ljavax/validation/ParameterNameProvider; > at > > org.hibernate.validator.internal.engine.ValidatorFactoryImpl.<init>(ValidatorFactoryImpl.java:135) > at > > org.hibernate.validator.HibernateValidator.buildValidatorFactory(HibernateValidator.java:45) > at > > org.apache.bval.jsr303.ConfigurationImpl.doPrivBuildValidatorFactory(ConfigurationImpl.java:252) > at > org.apache.bval.jsr303.util.SecureActions$5.run(SecureActions.java:131) > at > org.apache.bval.jsr303.util.SecureActions$5.run(SecureActions.java:129) > at > org.apache.bval.jsr303.ConfigurationImpl.run(ConfigurationImpl.java:337) > at > > org.apache.bval.jsr303.ConfigurationImpl.buildValidatorFactory(ConfigurationImpl.java:244) > at > > org.apache.openejb.assembler.classic.ValidatorBuilder.buildFactory(ValidatorBuilder.java:77) > at > > org.apache.openejb.assembler.classic.ValidatorBuilder.buildFactory(ValidatorBuilder.java:47) > at > > org.apache.openejb.assembler.classic.LazyValidatorFactory.ensureDelegate(LazyValidatorFactory.java:53) > at > > org.apache.openejb.assembler.classic.LazyValidatorFactory.getFactory(LazyValidatorFactory.java:62) > at > > org.apache.openejb.assembler.classic.Assembler.bindValidators(Assembler.java:891) > at > > org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:785) > ... 18 more > > > Thanks in advance. > Santiago. > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Tomee-and-Syncope-tp4677635.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
