title: NoClassDefFoundError: javax/validation/Validation occurs even validation-api 1.1.0.Final in the POM
body: <p>Looks strange... I have exception trace: </p>
  
  <pre><code>org.apache.cxf.interceptor.Fault
          at org.mule.module.cxf.MuleInvoker.invoke(MuleInvoker.java:117)
          at org.mule.module.cxf.MuleJAXWSInvoker.invoke(MuleJAXWSInvoker.java:47)
          at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
          at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
          at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
          at java.util.concurrent.FutureTask.run(Unknown Source)
          at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
          at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
          at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
          at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123)
          at org.mule.module.cxf.CxfInboundMessageProcessor.sendToDestination(CxfInboundMessageProcessor.java:295)
          at org.mule.module.cxf.CxfInboundMessageProcessor.process(CxfInboundMessageProcessor.java:136)
          at org.mule.module.cxf.config.FlowConfiguringMessageProcessor.process(FlowConfiguringMessageProcessor.java:52)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
          at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:106)
          at org.mule.processor.AsyncInterceptingMessageProcessor.process(AsyncInterceptingMessageProcessor.java:101)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
          at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:95)
          at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:70)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
          at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:106)
          at org.mule.interceptor.AbstractEnvelopeInterceptor.process(AbstractEnvelopeInterceptor.java:55)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
          at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:106)
          at org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:44)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
          at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:106)
          at org.mule.construct.AbstractPipeline$1.process(AbstractPipeline.java:112)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor
          ....
          at org.mule.execution.FlowProcessingPhase$1.run(FlowProcessingPhase.java:63)
          at org.mule.work.WorkerContext.run(WorkerContext.java:311)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)
  Caused by: java.lang.ExceptionInInitializerError
          at com.comp.db.utils.HibernateUtil.&lt;clinit&gt;(HibernateUtil.java:51)
          at com.comp.db.DAO.ApplicationDAOImpl.getPcoApplicationIBStatus(ApplicationDAOImpl.java:62)
          at com.comp.serv.ServiceEndPoindImpl.getApplicationStatus(ServiceEndPoindImpl.java:641)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.mule.model.resolvers.AbstractEntryPointResolver.invokeMethod(AbstractEntryPointResolver.java:151)
          at org.mule.model.resolvers.MethodHeaderPropertyEntryPointResolver.invoke(MethodHeaderPropertyEntryPointResolver.java:112)
          at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:39)
          at org.mule.component.DefaultComponentLifecycleAdapter.invoke(DefaultComponentLifecycleAdapter.java:343)
          at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:86)
          at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:77)
          at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:126)
          at org.mule.component.AbstractComponent.access$000(AbstractComponent.java:61)
          at org.mule.component.AbstractComponent$1$1.process(AbstractComponent.java:242)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
      ......
  
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:61)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:47)
          ... 21 more
  Caused by: org.hibernate.HibernateException: Unable to get the default Bean Validation factory
          at org.hibernate.cfg.beanvalidation.BeanValidationActivator.applyDDL(BeanValidationActivator.java:127)
          at org.hibernate.cfg.Configuration.applyBeanValidationConstraintsOnDDL(Configuration.java:1674)
          at org.hibernate.cfg.Configuration.applyConstraintsToDDL(Configuration.java:1624)
          at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1415)
          at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1826)
          at com.comp.db.utils.HibernateUtil.&lt;clinit&gt;(HibernateUtil.java:44)
          ... 110 more
  Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.hibernate.cfg.beanvalidation.BeanValidationActivator.applyDDL(BeanValidationActivator.java:118)
          ... 115 more
  Caused by: java.lang.NoClassDefFoundError: javax/validation/Validation
          at org.hibernate.cfg.beanvalidation.TypeSafeActivator.getValidatorFactory(TypeSafeActivator.java:342)
          at org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyDDL(TypeSafeActivator.java:106)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  </code></pre>
  
  <p>I read the <a href="https://stackoverflow.com/a/17142416/1293060">https://stackoverflow.com/a/17142416/1293060</a> and now my dependency tree looks like:</p>
  
  <pre><code>[INFO] +- org.json:json:jar:20151123:compile
  [INFO] +- commons-io:commons-io:jar:2.4:compile
  [INFO] +- fife:rsyntaxtextarea:jar:2.0.1:compile
  [INFO] +- com.neovisionaries:nv-i18n:jar:1.9:compile
  [INFO] +- commons-dbcp:commons-dbcp:jar:1.2.2:compile
  [INFO] |  \- commons-pool:commons-pool:jar:1.3:compile
  [INFO] +- com.microsoft.sqlserver:sqljdbc4:jar:4.0:compile
  [INFO] +- com.oracle:ojdbc6:jar:11.2.0:compile
  [INFO] +- org.fluttercode.datafactory:datafactory:jar:0.8:compile
  [INFO] +- junit:junit:jar:4.12:compile
  [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:compile
  [INFO] +- org.testng:testng:jar:6.9.10:compile
  [INFO] |  +- com.beust:jcommander:jar:1.48:compile
  [INFO] |  \- org.beanshell:bsh:jar:2.0b4:compile
  [INFO] +- org.mule:mule-core:jar:3.5.0:compile
  [INFO] |  +- commons-beanutils:commons-beanutils:jar:1.8.0:compile
  [INFO] |  +- com.github.stephenc.eaio-uuid:uuid:jar:3.4.0:compile
  [INFO] |  |  \- com.github.stephenc.eaio-grabbag:grabbag:jar:1.8.1:compile
  [INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
  [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:compile
  [INFO] |  +- commons-lang:commons-lang:jar:2.4:compile
  [INFO] |  +- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
  [INFO] |  +- org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.1:compile
  [INFO] |  +- javax.annotation:jsr250-api:jar:1.0:compile
  [INFO] |  +- org.slf4j:jcl-over-slf4j:jar:1.6.1:compile
  [INFO] |  +- org.slf4j:slf4j-api:jar:1.6.1:compile
  [INFO] |  +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
  [INFO] |  +- log4j:log4j:jar:1.2.16:compile
  [INFO] |  +- asm:asm:jar:3.1:compile
  [INFO] |  +- asm:asm-commons:jar:3.1:compile
  [INFO] |  |  \- asm:asm-tree:jar:3.1:compile
  [INFO] |  +- org.mule.mvel:mule-mvel2:jar:2.1.9-MULE-003:compile
  [INFO] |  +- org.jgrapht:jgrapht-jdk1.5:jar:0.7.3:compile
  [INFO] |  +- org.mule.common:mule-common:jar:3.5.0:compile
  [INFO] |  |  +- org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
  [INFO] |  |  +- javax.xml.stream:stax-api:jar:1.0-2:compile
  [INFO] |  |  \- org.antlr:antlr-runtime:jar:3.5:compile
  [INFO] |  |     \- org.antlr:stringtemplate:jar:3.2.1:compile
  [INFO] |  \- com.google.guava:guava:jar:16.0.1:compile
  [INFO] +- org.mule.modules:mule-module-spring-config:jar:3.5.0:compile
  [INFO] |  +- org.mule.modules:mule-module-annotations:jar:3.5.0:compile
  [INFO] |  |  \- cglib:cglib-nodep:jar:2.2:compile
  [INFO] |  +- org.springframework:spring-context:jar:3.2.1.RELEASE:compile
  [INFO] |  |  +- org.springframework:spring-aop:jar:3.2.1.RELEASE:compile
  [INFO] |  |  \- org.springframework:spring-expression:jar:3.2.1.RELEASE:compile
  [INFO] |  +- dom4j:dom4j:jar:1.6.1:compile
  [INFO] |  \- jaxen:jaxen:jar:1.1.1:compile
  [INFO] +- org.mule.transports:mule-transport-http:jar:3.5.0:compile
  [INFO] |  +- org.mule.transports:mule-transport-ssl:jar:3.5.0:compile
  [INFO] |  +- commons-codec:commons-codec:jar:1.3:compile
  [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
  [INFO] |  +- tomcat:tomcat-util:jar:5.5.23:compile
  [INFO] |  |  \- tomcat:tomcat-apr:jar:5.5.23:compile
  [INFO] |  +- org.samba.jcifs:jcifs:jar:1.3.3:compile
  [INFO] |  \- joda-time:joda-time:jar:1.6:compile
  [INFO] +- org.mule.modules:mule-module-client:jar:3.5.0:compile
  [INFO] +- org.mule.modules:mule-module-cxf:jar:3.5.0:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-core:jar:2.5.9:compile
  [INFO] |  |  +- org.apache.cxf:cxf-api:jar:2.5.9:compile
  [INFO] |  |  |  +- org.apache.neethi:neethi:jar:3.0.2:compile
  [INFO] |  |  |  \- wsdl4j:wsdl4j:jar:1.6.2:compile
  [INFO] |  |  \- org.apache.ws.xmlschema:xmlschema-core:jar:2.0.3:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-frontend-simple:jar:2.5.9:compile
  [INFO] |  |  \- org.apache.cxf:cxf-rt-bindings-soap:jar:2.5.9:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.5.9:compile
  [INFO] |  |  +- xml-resolver:xml-resolver:jar:1.2:compile
  [INFO] |  |  \- org.apache.cxf:cxf-rt-bindings-xml:jar:2.5.9:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-databinding-aegis:jar:2.5.9:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.5.9:compile
  [INFO] |  |  \- com.sun.xml.bind:jaxb-xjc:jar:2.1.13:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-databinding-jibx:jar:2.5.9:compile
  [INFO] |  |  +- org.apache.cxf:cxf-tools-common:jar:2.5.9:compile
  [INFO] |  |  +- org.jibx:jibx-run:jar:1.2.4.5:compile
  [INFO] |  |  |  \- xpp3:xpp3:jar:1.1.3.4.O:compile
  [INFO] |  |  \- org.jibx:jibx-schema:jar:1.2.4.5:compile
  [INFO] |  |     \- org.jibx:jibx-extras:jar:1.2.4.5:compile
  [INFO] |  |        \- org.jdom:jdom:jar:1.1.3:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-transports-local:jar:2.5.9:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-ws-security:jar:2.5.9:compile
  [INFO] |  |  +- org.apache.cxf:cxf-common-utilities:jar:2.5.9:compile
  [INFO] |  |  \- org.apache.ws.security:wss4j:jar:1.6.9:compile
  [INFO] |  |     +- org.apache.santuario:xmlsec:jar:1.5.3:compile
  [INFO] |  |     \- org.opensaml:opensaml:jar:2.5.1-1:compile
  [INFO] |  |        \- org.opensaml:openws:jar:1.4.2-1:compile
  [INFO] |  |           \- org.opensaml:xmltooling:jar:1.3.2-1:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-ws-rm:jar:2.5.9:compile
  [INFO] |  |  \- org.apache.cxf:cxf-rt-management:jar:2.5.9:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-ws-addr:jar:2.5.9:compile
  [INFO] |  +- org.apache.cxf:cxf-rt-transports-http:jar:2.5.9:compile
  [INFO] |  |  +- org.apache.cxf:cxf-rt-transports-common:jar:2.5.9:compile
  [INFO] |  |  \- org.springframework:spring-web:jar:3.0.6.RELEASE:compile
  [INFO] |  |     \- aopalliance:aopalliance:jar:1.0:compile
  [INFO] |  +- org.apache.cxf:cxf-wstx-msv-validation:jar:2.5.9:compile
  [INFO] |  |  \- net.java.dev.msv:msv-core:jar:2011.1:compile
  [INFO] |  |     +- com.sun.msv.datatype.xsd:xsdlib:jar:2010.1:compile
  [INFO] |  |     +- isorelax:isorelax:jar:20030108:compile
  [INFO] |  |     \- relaxngDatatype:relaxngDatatype:jar:20020414:compile
  [INFO] |  +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3:compile
  [INFO] |  |  \- javax.xml.soap:saaj-api:jar:1.3:compile
  [INFO] |  +- org.mule.modules:mule-module-spring-security:jar:3.5.0:compile
  [INFO] |  |  +- org.mule.modules:mule-module-spring-extras:jar:3.5.0:compile
  [INFO] |  |  |  +- org.springframework:spring-jdbc:jar:3.2.1.RELEASE:compile
  [INFO] |  |  |  +- org.springframework:spring-jms:jar:3.2.1.RELEASE:compile
  [INFO] |  |  |  +- org.mule.modules:mule-module-builders:jar:3.5.0:compile
  [INFO] |  |  |  +- org.springframework:spring-context-support:jar:3.2.1.RELEASE:compile
  [INFO] |  |  |  \- org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1:compile
  [INFO] |  |  +- org.springframework.security:spring-security-core:jar:3.1.0.RELEASE:compile
  [INFO] |  |  |  \- org.springframework.security:spring-security-crypto:jar:3.1.0.RELEASE:compile
  [INFO] |  |  +- org.springframework.security:spring-security-config:jar:3.1.0.RELEASE:compile
  [INFO] |  |  +- org.springframework.security:spring-security-web:jar:3.1.0.RELEASE:compile
  [INFO] |  |  |  \- org.springframework:spring-tx:jar:3.0.6.RELEASE:compile
  [INFO] |  |  +- org.springframework.security:spring-security-ldap:jar:3.1.0.RELEASE:compile
  [INFO] |  |  |  \- org.springframework.ldap:spring-ldap-core:jar:1.3.1.RELEASE:compile
  [INFO] |  |  +- org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0:compile
  [INFO] |  |  \- org.aspectj:aspectjrt:jar:1.6.11:compile
  [INFO] |  +- org.mule.transports:mule-transport-tcp:jar:3.5.0:compile
  [INFO] |  +- net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
  [INFO] |  +- org.apache.geronimo.specs:geronimo-annotation_1.1_spec:jar:1.0.1:compile
  [INFO] |  +- org.springframework:spring-beans:jar:3.2.1.RELEASE:compile
  [INFO] |  +- org.springframework:spring-core:jar:3.2.1.RELEASE:compile
  [INFO] |  +- javax.mail:mail:jar:1.4.3:compile
  [INFO] |  +- javax.xml.ws:jaxws-api:jar:2.2.1:compile
  [INFO] |  |  \- javax.jws:jsr181-api:jar:1.0-MR1:compile
  [INFO] |  \- org.apache.ant:ant:jar:1.7.0:runtime
  [INFO] |     \- org.apache.ant:ant-launcher:jar:1.7.0:runtime
  [INFO] +- org.mule.modules:mule-module-management:jar:3.5.0:compile
  [INFO] |  +- mx4j:mx4j-jmx:jar:2.1.1:compile
  [INFO] |  +- mx4j:mx4j-impl:jar:2.1.1:compile
  [INFO] |  +- mx4j:mx4j-tools:jar:2.1.1:compile
  [INFO] |  +- mx4j:mx4j-remote:jar:2.1.1:compile
  [INFO] |  +- com.yourkit:yjp-controller-api-redist:jar:9.0.8:compile
  [INFO] |  \- tanukisoft:wrapper:jar:3.2.3:compile
  [INFO] +- org.mule.modules:mule-module-xml:jar:3.5.0:compile
  [INFO] |  +- org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
  [INFO] |  +- commons-jxpath:commons-jxpath:jar:1.3:compile
  [INFO] |  +- com.thoughtworks.xstream:xstream:jar:1.4.2:compile
  [INFO] |  |  \- xmlpull:xmlpull:jar:1.1.3.1:compile
  [INFO] |  +- xpp3:xpp3_min:jar:1.1.3.4.O:compile
  [INFO] |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.1.4:compile
  [INFO] |  |  \- org.codehaus.woodstox:stax2-api:jar:3.1.1:compile
  [INFO] |  +- net.java.dev.stax-utils:stax-utils:jar:20080702:compile
  [INFO] |  +- net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:compile
  [INFO] |  +- net.sourceforge.saxon:saxon:jar:xqj:9.1.0.8:compile
  [INFO] |  +- javax.xml.bind:jaxb-api:jar:2.1:compile
  [INFO] |  \- com.sun.xml.bind:jaxb-impl:jar:2.1.5:compile
  [INFO] +- org.mule.modules:mule-interceptor-module:jar:3.5-M2:test
  [INFO] |  \- org.mockito:mockito-all:jar:1.8.2:test
  [INFO] +- org.hibernate:hibernate-core:jar:5.0.7.Final:compile
  [INFO] |  +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile
  [INFO] |  +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
  [INFO] |  +- org.javassist:javassist:jar:3.18.1-GA:compile
  [INFO] |  +- antlr:antlr:jar:2.7.7:compile
  [INFO] |  +- org.jboss:jandex:jar:2.0.0.Final:compile
  [INFO] |  \- org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final:compile
  [INFO] \- javax.validation:validation-api:jar:1.1.0.Final:compile
  </code></pre>
  
  <p>But after deploying i still receive <code>java.lang.NoClassDefFoundError: javax/validation/Validation</code> error (see stacktrace of root cause). Could you help to avoid this exception? Thank you.</p>
  
  <p><strong>UPDATE</strong>
  Now my pom has dependencies:</p>
  
  <pre><code>        &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
              &lt;version&gt;5.0.7.Final&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
              &lt;version&gt;5.2.3.Final&lt;/version&gt;
          &lt;/dependency&gt;
  
  &lt;!--
  
          &lt;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;1.1.0.Final&lt;/version&gt;
          &lt;/dependency&gt;
  --&gt;
  </code></pre>
  
  <p>and dependencies tree:</p>
  
  <pre><code> \- org.hibernate:hibernate-validator:jar:5.2.3.Final:compile
  [INFO]    +- javax.validation:validation-api:jar:1.1.0.Final:compile
  [INFO]    \- com.fasterxml:classmate:jar:1.1.0:compile
  </code></pre>
  
  <p>And the exception is the same:</p>
  
  <pre><code>Caused by: java.lang.ClassNotFoundException: javax.validation.Validation
          at java.net.URLClassLoader$1.run(Unknown Source)
          at java.net.URLClassLoader$1.run(Unknown Source)
          at java.security.AccessController.doPrivileged(Native Method)
  </code></pre>
  
  <p>I will be glad for any ideas and help.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Also tried to add <code>hibernate.validator.apply_to_ddl=false</code> into app.properties and <code>&lt;scope&gt;test&lt;/scope&gt;</code> into <code>&lt;artifactId&gt;validation-api&lt;/artifactId&gt;</code>. Doesn't help. </p>
  
  <p><strong>UPDATE</strong>
  Also tried to delete <code>validation-api-1.1.0.Final.jar</code> from folder of deployed application.</p>
  
  <p><strong>UPDATE</strong>
  This :</p>
  
  <pre><code> &lt;dependency&gt;
        &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
        &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
        &lt;version&gt;5.2.3.Final&lt;/version&gt;
        &lt;exclusions&gt;
            &lt;exclusion&gt;
                &lt;groupId&gt;javax.validation&lt;/groupId&gt;
                &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
            &lt;/exclusion&gt;
        &lt;/exclusions&gt;
    &lt;/dependency&gt;
  </code></pre>
  
  <p>doesn't help too. =(</p>
  
  <p><strong>Update</strong></p>
  
  <p>This case also doesn't work:</p>
  
  <pre><code>  &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
              &lt;version&gt;5.2.3.Final&lt;/version&gt;
  
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;javax.validation&lt;/groupId&gt;
                      &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;1.0.0.GA&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p><strong>UPDATE</strong>
  Doesn't work too:</p>
  
  <pre><code>&lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
              &lt;version&gt;5.0.7.Final&lt;/version&gt;
          &lt;/dependency&gt;
  
  
         &lt;!-- &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
              &lt;version&gt;5.2.3.Final&lt;/version&gt;
  
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;javax.validation&lt;/groupId&gt;
                      &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
  
          &lt;/dependency&gt;--&gt;
  
  
         &lt;!-- &lt;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;1.1.0.Final&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;1.0.0.GA&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>Help still needed.</p>
  
  <p><strong>May be problem in Mule 3.4 libraries?</strong> </p>