title: How to fix ClassNotFoundException for org.threeten.bp.LocalDateTime?
body: <p>Collegues, I built my project using <code>mvn clean package</code> and receive next stacktrace:</p>
  
  <pre><code>10:12:06.713 INFO  [main] org.hibernate.Version - HHH000412: Hibernate Core {[WORKING]}
  10:12:06.715 INFO  [main] org.hibernate.cfg.Environment - HHH000206: hibernate.properties not found
  10:12:06.739 INFO  [main] o.h.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  10:12:08.244 WARN  [main] o.s.c.a.AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emFactorymort' defined in class path resource [ru/pivotal/olme/cap_qort_config/olmemortConfig.class]: Invocation of init method failed; nested exception is java.lang.TypeNotPresentException: Type org.threeten.bp.LocalDateTime not present
  Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emFactorymort' defined in class path resource [ru/pivotal/olme/cap_qort_config/olmemortConfig.class]: Invocation of init method failed; nested exception is java.lang.TypeNotPresentException: Type org.threeten.bp.LocalDateTime not present
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1589)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:554)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
          at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
          at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
          at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
          at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
          at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1081)
          at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:856)
          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
          at org.springframework.context.annotation.AnnotationConfigApplicationContext.&lt;init&gt;(AnnotationConfigApplicationContext.java:84)
          at com.pivotal.olme.OlmeFtp.main(OlmeFtp.java:21)
  Caused by: java.lang.TypeNotPresentException: Type org.threeten.bp.LocalDateTime not present
          at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(Unknown Source)
          at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Unknown Source)
          at sun.reflect.generics.tree.ClassTypeSignature.accept(Unknown Source)
          at sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Unknown Source)
          at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Unknown Source)
          at sun.reflect.generics.tree.ClassTypeSignature.accept(Unknown Source)
          at sun.reflect.generics.repository.ClassRepository.getSuperInterfaces(Unknown Source)
          at java.lang.Class.getGenericInterfaces(Unknown Source)
          at org.hibernate.cfg.AttributeConverterDefinition.extractAttributeConverterParameterizedType(AttributeConverterDefinition.java:157)
          at org.hibernate.cfg.AttributeConverterDefinition.&lt;init&gt;(AttributeConverterDefinition.java:114)
          at org.hibernate.cfg.AttributeConverterDefinition.from(AttributeConverterDefinition.java:93)
          at org.hibernate.cfg.AttributeConverterDefinition.from(AttributeConverterDefinition.java:73)
          at org.hibernate.boot.model.process.internal.ScanningCoordinator.applyScanResultsToManagedResources(ScanningCoordinator.java:234)
          at org.hibernate.boot.model.process.internal.ScanningCoordinator.coordinateScan(ScanningCoordinator.java:81)
          at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.prepare(MetadataBuildingProcess.java:98)
          at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.&lt;init&gt;(EntityManagerFactoryBuilderImpl.java:228)
          at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.&lt;init&gt;(EntityManagerFactoryBuilderImpl.java:163)
          at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:54)
          at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:353)
          at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:373)
          at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:362)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1648)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1585)
          ... 11 more
  Caused by: java.lang.ClassNotFoundException: org.threeten.bp.LocalDateTime
          at java.net.URLClassLoader.findClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at java.lang.Class.forName0(Native Method)
          at java.lang.Class.forName(Unknown Source)
          ... 34 more
  </code></pre>
  
  <p>The <code>pom</code> of the module looks:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  
      &lt;parent&gt;
          &lt;groupId&gt;com.pivotal.olme&lt;/groupId&gt;
          &lt;artifactId&gt;parent&lt;/artifactId&gt;
          &lt;version&gt;1.2-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
  
  
      &lt;groupId&gt;com.pivotal.olme&lt;/groupId&gt;
      &lt;artifactId&gt;olme-ftp&lt;/artifactId&gt;
      &lt;version&gt;1.3-SNAPSHOT&lt;/version&gt;
  
  
      &lt;name&gt;olme :: FTP&lt;/name&gt;
      &lt;description&gt;olme-FTP integration&lt;/description&gt;
  
  
      &lt;dependencies&gt;
  
        &lt;dependency&gt;
               &lt;groupId&gt;org.springframework&lt;/groupId&gt;
               &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
           &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-tx&lt;/artifactId&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-test&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-orm&lt;/artifactId&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
              &lt;version&gt;5.2.6.Final&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;!-- https://mvnrepository.com/artifact/org.springframework.data/spring-data-jpa --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.data&lt;/groupId&gt;
              &lt;artifactId&gt;spring-data-jpa&lt;/artifactId&gt;
              &lt;version&gt;1.11.1.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!--Logging--&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
              &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
              &lt;version&gt;1.1.9&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;me.moocar&lt;/groupId&gt;
              &lt;artifactId&gt;logback-gelf&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;jul-to-slf4j&lt;/artifactId&gt;
              &lt;version&gt;1.7.22&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;jcl-over-slf4j&lt;/artifactId&gt;
              &lt;version&gt;1.7.22&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-io&lt;/groupId&gt;
              &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
              &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;joda-time&lt;/groupId&gt;
              &lt;artifactId&gt;joda-time&lt;/artifactId&gt;
              &lt;version&gt;2.8.2&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;!-- https://mvnrepository.com/artifact/commons-net/commons-net --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-net&lt;/groupId&gt;
              &lt;artifactId&gt;commons-net&lt;/artifactId&gt;
              &lt;version&gt;3.3&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;!-- Needed for com/jcraft/jsch/Logger - SFTP --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.jcraft&lt;/groupId&gt;
                  &lt;artifactId&gt;jsch&lt;/artifactId&gt;
                  &lt;version&gt;0.1.42&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;!-- JUnit for testing --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;junit&lt;/groupId&gt;
                  &lt;artifactId&gt;junit&lt;/artifactId&gt;
                  &lt;version&gt;4.12&lt;/version&gt;
              &lt;/dependency&gt;
  
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;pl.touk&lt;/groupId&gt;
              &lt;artifactId&gt;tsc-reload&lt;/artifactId&gt;
              &lt;version&gt;0.3.0&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.typesafe&lt;/groupId&gt;
              &lt;artifactId&gt;config&lt;/artifactId&gt;
              &lt;version&gt;1.3.0&lt;/version&gt;
  
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/commons-collections/commons-collections --&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-collections&lt;/groupId&gt;
              &lt;artifactId&gt;commons-collections&lt;/artifactId&gt;
              &lt;version&gt;3.2.2&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-shade-plugin --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.4.3&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-context-support&lt;/artifactId&gt;
              &lt;version&gt;4.2.4.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.thymeleaf&lt;/groupId&gt;
              &lt;artifactId&gt;thymeleaf&lt;/artifactId&gt;
              &lt;version&gt;3.0.2.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.thymeleaf&lt;/groupId&gt;
              &lt;artifactId&gt;thymeleaf-spring4&lt;/artifactId&gt;
              &lt;version&gt;3.0.2.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.mail&lt;/groupId&gt;
              &lt;artifactId&gt;mail&lt;/artifactId&gt;
              &lt;version&gt;1.4.7&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
              &lt;artifactId&gt;commons-dbcp2&lt;/artifactId&gt;
              &lt;version&gt;2.1.1&lt;/version&gt;
  
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;commons-logging&lt;/groupId&gt;
                      &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
  
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.microsoft.sqlserver&lt;/groupId&gt;
              &lt;artifactId&gt;sqljdbc4&lt;/artifactId&gt;
              &lt;version&gt;4.2&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.fluttercode.datafactory&lt;/groupId&gt;
              &lt;artifactId&gt;datafactory&lt;/artifactId&gt;
              &lt;version&gt;0.8&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.pivotal.qort&lt;/groupId&gt;
              &lt;artifactId&gt;utils&lt;/artifactId&gt;
              &lt;version&gt;1.9.3-SNAPSHOT&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-beanutils&lt;/groupId&gt;
              &lt;artifactId&gt;commons-beanutils&lt;/artifactId&gt;
              &lt;version&gt;1.9.3&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi&lt;/artifactId&gt;
              &lt;version&gt;3.15&lt;/version&gt;
          &lt;/dependency&gt;
  
  
      &lt;/dependencies&gt;
  
  
  
  
  
      &lt;build&gt;
          &lt;finalName&gt;olme-ftp-1.2-SNAPSHOT&lt;/finalName&gt;
          &lt;plugins&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.4.3&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;phase&gt;package&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;shade&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;filters&gt;
                                  &lt;filter&gt;
                                      &lt;artifact&gt;*:*&lt;/artifact&gt;
                                      &lt;excludes&gt;
                                          &lt;exclude&gt;META-INF/*.SF&lt;/exclude&gt;
                                          &lt;exclude&gt;META-INF/*.DSA&lt;/exclude&gt;
                                          &lt;exclude&gt;META-INF/*.RSA&lt;/exclude&gt;
                                      &lt;/excludes&gt;
                                  &lt;/filter&gt;
                              &lt;/filters&gt;
  
                              &lt;transformers&gt;
                                  &lt;transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"&gt;
                                      &lt;resource&gt;META-INF/spring.handlers&lt;/resource&gt;
                                  &lt;/transformer&gt;
                                  &lt;transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"&gt;
                                      &lt;resource&gt;META-INF/spring.schemas&lt;/resource&gt;
                                  &lt;/transformer&gt;
                                  &lt;transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"&gt;
                                      &lt;mainClass&gt;com.pivotal.olme.olmeFtp&lt;/mainClass&gt;
                                  &lt;/transformer&gt;
                              &lt;/transformers&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
  
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.19.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;argLine&gt;-Denv=dev&lt;/argLine&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  
          &lt;/plugins&gt;
      &lt;/build&gt;
  
  
  &lt;/project&gt;
  </code></pre>
  
  <p><code>mvn dependency:tree</code> returns:</p>
  
  <pre><code>[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ olme-ftp ---
  [INFO] com.pivotal.olme:olme-ftp:jar:1.3-SNAPSHOT
  [INFO] +- org.springframework:spring-context:jar:4.3.5.RELEASE:compile
  [INFO] |  +- org.springframework:spring-aop:jar:4.3.5.RELEASE:compile
  [INFO] |  +- org.springframework:spring-beans:jar:4.3.5.RELEASE:compile
  [INFO] |  +- org.springframework:spring-core:jar:4.3.5.RELEASE:compile
  [INFO] |  \- org.springframework:spring-expression:jar:4.3.5.RELEASE:compile
  [INFO] +- org.springframework:spring-tx:jar:4.3.5.RELEASE:compile
  [INFO] +- org.springframework:spring-test:jar:4.3.5.RELEASE:test
  [INFO] +- org.springframework:spring-orm:jar:4.3.5.RELEASE:compile
  [INFO] |  \- org.springframework:spring-jdbc:jar:4.3.5.RELEASE:compile
  [INFO] +- org.hibernate:hibernate-core:jar:5.2.6.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.20.0-GA:compile
  [INFO] |  +- antlr:antlr:jar:2.7.7:compile
  [INFO] |  +- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
  [INFO] |  +- org.jboss:jandex:jar:2.0.3.Final:compile
  [INFO] |  +- com.fasterxml:classmate:jar:1.3.0:compile
  [INFO] |  +- dom4j:dom4j:jar:1.6.1:compile
  [INFO] |  +- org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final:compile
  [INFO] |  \- javax.enterprise:cdi-api:jar:1.1:compile
  [INFO] |     +- javax.el:el-api:jar:2.2:compile
  [INFO] |     +- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.0.Beta1:compile
  [INFO] |     +- javax.annotation:jsr250-api:jar:1.0:compile
  [INFO] |     \- javax.inject:javax.inject:jar:1:compile
  [INFO] +- org.springframework.data:spring-data-jpa:jar:1.11.1.RELEASE:compile
  [INFO] |  +- org.springframework.data:spring-data-commons:jar:1.13.1.RELEASE:compile
  [INFO] |  +- org.aspectj:aspectjrt:jar:1.8.10:compile
  [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.24:compile
  [INFO] +- ch.qos.logback:logback-classic:jar:1.1.9:compile
  [INFO] |  \- ch.qos.logback:logback-core:jar:1.1.9:compile
  [INFO] +- me.moocar:logback-gelf:jar:0.3:compile
  [INFO] |  +- com.google.code.gson:gson:jar:2.3.1:compile
  [INFO] |  \- me.moocar:socket-encoder-appender:jar:0.1beta1:compile
  [INFO] +- org.slf4j:jul-to-slf4j:jar:1.7.22:compile
  [INFO] +- org.slf4j:jcl-over-slf4j:jar:1.7.22:compile
  [INFO] +- commons-io:commons-io:jar:2.2:compile
  [INFO] +- org.apache.commons:commons-lang3:jar:3.5:compile
  [INFO] +- joda-time:joda-time:jar:2.8.2:compile
  [INFO] +- commons-net:commons-net:jar:3.3:compile
  [INFO] +- com.jcraft:jsch:jar:0.1.42:compile
  [INFO] +- junit:junit:jar:4.12:test
  [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
  [INFO] +- pl.touk:tsc-reload:jar:0.3.0:compile
  [INFO] |  \- com.javaslang:javaslang:jar:2.0.0-RC3:compile
  [INFO] +- com.typesafe:config:jar:1.3.0:compile
  [INFO] +- commons-collections:commons-collections:jar:3.2.2:compile
  [INFO] +- org.apache.maven.plugins:maven-shade-plugin:jar:2.4.3:compile
  [INFO] |  +- org.apache.maven:maven-plugin-api:jar:3.0:compile
  [INFO] |  |  \- org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
  [INFO] |  |     \- org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
  [INFO] |  |        \- org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
  [INFO] |  +- org.apache.maven:maven-model:jar:3.0:compile
  [INFO] |  +- org.apache.maven:maven-core:jar:3.0:compile
  [INFO] |  |  +- org.apache.maven:maven-settings:jar:3.0:compile
  [INFO] |  |  +- org.apache.maven:maven-settings-builder:jar:3.0:compile
  [INFO] |  |  +- org.apache.maven:maven-repository-metadata:jar:3.0:compile
  [INFO] |  |  +- org.apache.maven:maven-model-builder:jar:3.0:compile
  [INFO] |  |  +- org.apache.maven:maven-aether-provider:jar:3.0:runtime
  [INFO] |  |  +- org.sonatype.aether:aether-impl:jar:1.7:compile
  [INFO] |  |  |  \- org.sonatype.aether:aether-spi:jar:1.7:compile
  [INFO] |  |  +- org.sonatype.aether:aether-api:jar:1.7:compile
  [INFO] |  |  +- org.sonatype.aether:aether-util:jar:1.7:compile
  [INFO] |  |  +- org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
  [INFO] |  |  +- org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
  [INFO] |  |  +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
  [INFO] |  |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
  [INFO] |  |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
  [INFO] |  +- org.apache.maven:maven-compat:jar:3.0:compile
  [INFO] |  |  \- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
  [INFO] |  +- org.apache.maven:maven-artifact:jar:3.0:compile
  [INFO] |  +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
  [INFO] |  +- org.ow2.asm:asm:jar:5.0.2:compile
  [INFO] |  +- org.ow2.asm:asm-commons:jar:5.0.2:compile
  [INFO] |  |  \- org.ow2.asm:asm-tree:jar:5.0.2:compile
  [INFO] |  +- org.jdom:jdom:jar:1.1:compile
  [INFO] |  +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
  [INFO] |  |  \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
  [INFO] |  +- org.vafer:jdependency:jar:1.1:compile
  [INFO] |  |  +- org.ow2.asm:asm-analysis:jar:5.0.4:compile
  [INFO] |  |  \- org.ow2.asm:asm-util:jar:5.0.4:compile
  [INFO] |  \- com.google.guava:guava:jar:11.0.2:compile
  [INFO] |     \- com.google.code.findbugs:jsr305:jar:1.3.9:compile
  [INFO] +- org.springframework:spring-context-support:jar:4.2.4.RELEASE:compile
  [INFO] +- org.thymeleaf:thymeleaf:jar:3.0.2.RELEASE:compile
  [INFO] |  +- ognl:ognl:jar:3.1.10:compile
  [INFO] |  +- org.attoparser:attoparser:jar:2.0.1.RELEASE:compile
  [INFO] |  \- org.unbescape:unbescape:jar:1.1.4.RELEASE:compile
  [INFO] +- org.thymeleaf:thymeleaf-spring4:jar:3.0.2.RELEASE:compile
  [INFO] +- javax.mail:mail:jar:1.4.7:compile
  [INFO] |  \- javax.activation:activation:jar:1.1:compile
  [INFO] +- org.apache.commons:commons-dbcp2:jar:2.1.1:compile
  [INFO] |  \- org.apache.commons:commons-pool2:jar:2.4.2:compile
  [INFO] +- com.microsoft.sqlserver:sqljdbc4:jar:4.2:compile
  [INFO] +- org.fluttercode.datafactory:datafactory:jar:0.8:compile
  [INFO] +- com.pivotal.qort:utils:jar:1.9.3-SNAPSHOT:compile
  [INFO] |  \- com.sun.mail:javax.mail:jar:1.5.5:compile
  [INFO] +- commons-beanutils:commons-beanutils:jar:1.9.3:compile
  [INFO] |  \- commons-logging:commons-logging:jar:1.2:compile
  [INFO] \- org.apache.poi:poi:jar:3.15:compile
  [INFO]    +- commons-codec:commons-codec:jar:1.10:compile
  [INFO]    \- org.apache.commons:commons-collections4:jar:4.1:compile
  </code></pre>
  
  <p>How to fix ClassNotFoundException in my case?</p>
  
  <p>What is done:</p>
  
  <ul>
  <li><p><code>mvn clean -U</code> added</p></li>
  <li><p><code>&lt;maven.compiler.source&gt;1.8&lt;/maven.compiler.source&gt;</code> and '1.8<code>into</code><code>of parent</code>pom`.</p></li>
  <li>all teste passed withou exception in IDE (IDE)</li>
  </ul>