title: java.lang.classnotfoundexception org.springframework.web.context.contextloaderlistener
body: <p>Im having some troubles setting my project to work. Im using Spring, and in the name of my project im seeing a big red "!", and in my root-context im seeing some errors:</p>
  
  <pre><code>&lt;bean id="userDao" class="com.goatsoft.appark.dao.UserDaoImpl"&gt;
      &lt;property name="dataSource" ref="dataSource" /&gt; //error in this line
  &lt;/bean&gt;
  </code></pre>
  
  <p>The error says "No setter found for property 'dataSource' in class 'com.goatsoft.appark.dao.UserDaoImpl'". That class extends JdbcDaoSupport, so it should have a dataSource for free, if im not in a mistake.</p>
  
  <p>This is the dataSource bean definition:</p>
  
  <pre><code>&lt;bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"&gt;
      &lt;property name="driverClassName" value="com.mysql.jdbc.Driver" /&gt; 
      &lt;property name="url" value="jdbc:mysql://localhost:3306/myDB" /&gt; 
      &lt;property name="username" value="user" /&gt; 
      &lt;property name="password" value="password" /&gt; 
  &lt;/bean&gt;
  </code></pre>
  
  <p>When I run the app, im receiving this report:</p>
  
  <pre><code>jul 24, 2014 6:46:58 PM com.springsource.tcserver.security.PropertyDecoder &lt;init&gt;
  Información: tc Runtime property decoder using memory-based key
  jul 24, 2014 6:46:58 PM com.springsource.tcserver.security.PropertyDecoder &lt;init&gt;
  Información: tcServer Runtime property decoder has been initialized in 236 ms
  jul 24, 2014 6:46:59 PM org.apache.coyote.AbstractProtocol init
  Información: Initializing ProtocolHandler ["http-bio-8080"]
  jul 24, 2014 6:46:59 PM com.springsource.tcserver.serviceability.rmi.JmxSocketListener init
  Información: Started up JMX registry on 127.0.0.1:6969 in 127 ms
  jul 24, 2014 6:46:59 PM org.apache.catalina.startup.Catalina load
  Información: Initialization processed in 861 ms
  jul 24, 2014 6:46:59 PM org.apache.catalina.core.StandardService startInternal
  Información: Arrancando servicio Catalina
  jul 24, 2014 6:46:59 PM org.apache.catalina.core.StandardEngine startInternal
  Información: Starting Servlet Engine: VMware vFabric tc Runtime 2.9.2.RELEASE/7.0.39.B.RELEASE
  jul 24, 2014 6:46:59 PM org.apache.catalina.startup.HostConfig deployDescriptor
  Información: Desplieque del descriptor de configuración D:\Desarrollo\STS\vfabric-tc-server-developer-2.9.2.RELEASE\base-instance\conf\Catalina\localhost\appark.xml
  jul 24, 2014 6:46:59 PM org.apache.catalina.startup.SetContextPropertiesRule begin
  Advertencia: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:AppArk' did not find a matching property.
  jul 24, 2014 6:47:00 PM org.apache.catalina.core.ApplicationContext log
  Información: No Spring WebApplicationInitializer types detected on classpath
  jul 24, 2014 6:47:00 PM org.apache.catalina.core.ApplicationContext log
  Información: Initializing Spring root WebApplicationContext
  INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
  INFO : org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Thu Jul 24 18:47:00 CEST 2014]; root of context hierarchy
  INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/root-context.xml]
  INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@539bd2fe: defining beans [dataSource,jdbcTemplate,userDao,vehiculoDao,aparcamientoDao,parkService,userService,vehiculoService,/home,generalService]; root of factory hierarchy
  INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@539bd2fe: defining beans [dataSource,jdbcTemplate,userDao,vehiculoDao,aparcamientoDao,parkService,userService,vehiculoService,/home,generalService]; root of factory hierarchy
  ERROR: org.springframework.web.context.ContextLoader - Context initialization failed
  org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.goatsoft.appark.dao.UserDaoImpl] for bean with name 'userDao' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]; nested exception is java.lang.ClassNotFoundException: com.goatsoft.appark.dao.UserDaoImpl
  at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
  at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
  at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:897)
  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:566)
  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
  at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
  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:633)
  at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
  at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
  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:744)
  Caused by: java.lang.ClassNotFoundException: com.goatsoft.appark.dao.UserDaoImpl
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
  at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
  at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)
  at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)
  at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)
  ... 22 more
  jul 24, 2014 6:47:00 PM org.apache.catalina.core.StandardContext listenerStart
  Grave: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.springframework.web.context.ContextLoaderListener
  org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.goatsoft.appark.dao.UserDaoImpl] for bean with name 'userDao' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]; nested exception is java.lang.ClassNotFoundException: com.goatsoft.appark.dao.UserDaoImpl
  at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
  at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
  at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:897)
  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:566)
  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
  at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
  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:633)
  at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
  at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
  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:744)
  Caused by: java.lang.ClassNotFoundException: com.goatsoft.appark.dao.UserDaoImpl
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713)
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
  at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
  at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)
  at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)
  at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)
  ... 22 more
  
  jul 24, 2014 6:47:00 PM org.apache.catalina.core.StandardContext startInternal
  Grave: Error listenerStart
  jul 24, 2014 6:47:00 PM org.apache.catalina.core.StandardContext startInternal
  Grave: Falló en arranque del Contexto [/appark] debido a errores previos
  jul 24, 2014 6:47:00 PM org.apache.catalina.core.ApplicationContext log
  Información: Closing Spring root WebApplicationContext
  jul 24, 2014 6:47:00 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
  Grave: La aplicación web [/appark] registró el conductor JDBC [com.mysql.jdbc.Driver] pero falló al anular el registro mientras la aplicación web estaba parada. Para prevenir un fallo de memoria, se ha anulado el registro del conductor JDBC por la fuerza.
  jul 24, 2014 6:47:00 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
  Grave: La aplicación web [/appark] parece haber arrancado un hilo llamado [Abandoned connection cleanup thread] pero no ha podido pararlo. Esto tiene todas las papeletas de convertirse en un fallo de memoria.
  jul 24, 2014 6:47:00 PM org.apache.catalina.startup.HostConfig deployDescriptor
  Información: Desplieque del descriptor de configuración D:\Desarrollo\STS\vfabric-tc-server-developer-2.9.2.RELEASE\base-instance\conf\Catalina\localhost\proyecto.xml
  jul 24, 2014 6:47:00 PM org.apache.catalina.startup.SetContextPropertiesRule begin
  Advertencia: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Helpin' did not find a matching property.
  jul 24, 2014 6:47:00 PM org.apache.catalina.startup.HostConfig deployDirectory
  Información: Despliegue del directorio D:\Desarrollo\STS\vfabric-tc-server-developer-2.9.2.RELEASE\base-instance\webapps\manager de la aplicación web
  jul 24, 2014 6:47:00 PM org.apache.catalina.startup.HostConfig deployDirectory
  Información: Despliegue del directorio D:\Desarrollo\STS\vfabric-tc-server-developer-2.9.2.RELEASE\base-instance\webapps\ROOT de la aplicación web
  jul 24, 2014 6:47:01 PM org.apache.coyote.AbstractProtocol start
  Información: Starting ProtocolHandler ["http-bio-8080"]
  jul 24, 2014 6:47:01 PM org.apache.catalina.startup.Catalina start
  Información: Server startup in 1860 ms
  </code></pre>
  
  <p>I did a search and found <a href="https://stackoverflow.com/questions/6210757/java-lang-classnotfoundexception-org-springframework-web-context-contextloaderl">this</a> question, but I did the suggested solutions and didn't worked. </p>
  
  <p>I am using Maven, this is my pom.xml:</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/maven-v4_0_0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.goatsoft&lt;/groupId&gt;
  &lt;artifactId&gt;appark&lt;/artifactId&gt;
  &lt;name&gt;AppArk&lt;/name&gt;
  &lt;packaging&gt;war&lt;/packaging&gt;
  &lt;version&gt;1.0.0-BUILD-SNAPSHOT&lt;/version&gt;
  &lt;properties&gt;
      &lt;java-version&gt;1.6&lt;/java-version&gt;
      &lt;org.springframework-version&gt;3.1.1.RELEASE&lt;/org.springframework-version&gt;
      &lt;org.aspectj-version&gt;1.6.10&lt;/org.aspectj-version&gt;
      &lt;org.slf4j-version&gt;1.6.6&lt;/org.slf4j-version&gt;
  &lt;/properties&gt;
  &lt;dependencies&gt;
  
  &lt;dependency&gt;
  &lt;groupId&gt;mysql&lt;/groupId&gt;
  &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
  &lt;version&gt;5.1.26&lt;/version&gt;
  &lt;/dependency&gt;
          &lt;!-- Spring --&gt;
  &lt;dependency&gt;
           &lt;groupId&gt;org.springframework&lt;/groupId&gt;
           &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
           &lt;version&gt;${org.springframework-version}&lt;/version&gt;
           &lt;exclusions&gt;
               &lt;!-- Exclude Commons Logging in favor of SLF4j --&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;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
       &lt;version&gt;${org.springframework-version}&lt;/version&gt;
   &lt;/dependency&gt;
       &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
          &lt;version&gt;${org.springframework-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;${org.springframework-version}&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
   &lt;groupId&gt;org.springframework&lt;/groupId&gt;
   &lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;
  &lt;version&gt;${org.springframework-version}&lt;/version&gt;
  &lt;/dependency&gt;
  
      &lt;!-- AspectJ --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
          &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt;
          &lt;version&gt;${org.aspectj-version}&lt;/version&gt;
      &lt;/dependency&gt;   
  
      &lt;!-- Logging --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
          &lt;version&gt;${org.slf4j-version}&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;${org.slf4j-version}&lt;/version&gt;
          &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
          &lt;version&gt;${org.slf4j-version}&lt;/version&gt;
          &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;log4j&lt;/groupId&gt;
          &lt;artifactId&gt;log4j&lt;/artifactId&gt;
          &lt;version&gt;1.2.15&lt;/version&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;javax.mail&lt;/groupId&gt;
                  &lt;artifactId&gt;mail&lt;/artifactId&gt;
              &lt;/exclusion&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;javax.jms&lt;/groupId&gt;
                  &lt;artifactId&gt;jms&lt;/artifactId&gt;
              &lt;/exclusion&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;com.sun.jdmk&lt;/groupId&gt;
                  &lt;artifactId&gt;jmxtools&lt;/artifactId&gt;
              &lt;/exclusion&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;com.sun.jmx&lt;/groupId&gt;
                  &lt;artifactId&gt;jmxri&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
          &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;!-- @Inject --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.inject&lt;/groupId&gt;
          &lt;artifactId&gt;javax.inject&lt;/artifactId&gt;
          &lt;version&gt;1&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Servlet --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
          &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
          &lt;version&gt;2.5&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet.jsp&lt;/groupId&gt;
          &lt;artifactId&gt;jsp-api&lt;/artifactId&gt;
          &lt;version&gt;2.1&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
          &lt;artifactId&gt;jstl&lt;/artifactId&gt;
          &lt;version&gt;1.2&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Test --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;4.7&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;  
  
      &lt;!-- Jackson --&gt;   
      &lt;dependency&gt;
          &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-core-asl&lt;/artifactId&gt;
          &lt;version&gt;1.9.13&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
  &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
  &lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
  &lt;version&gt;1.9.13&lt;/version&gt;
  &lt;/dependency&gt;   
  &lt;/dependencies&gt;
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.9&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;additionalProjectnatures&gt;
                      &lt;projectnature&gt;org.springframework.ide.eclipse.core.springnature&lt;/projectnature&gt;
                  &lt;/additionalProjectnatures&gt;
                  &lt;additionalBuildcommands&gt;
                      &lt;buildcommand&gt;org.springframework.ide.eclipse.core.springbuilder&lt;/buildcommand&gt;
                  &lt;/additionalBuildcommands&gt;
                  &lt;downloadSources&gt;true&lt;/downloadSources&gt;
                  &lt;downloadJavadocs&gt;true&lt;/downloadJavadocs&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.5.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.6&lt;/source&gt;
                  &lt;target&gt;1.6&lt;/target&gt;
                  &lt;compilerArgument&gt;-Xlint:all&lt;/compilerArgument&gt;
                  &lt;showWarnings&gt;true&lt;/showWarnings&gt;
                  &lt;showDeprecation&gt;true&lt;/showDeprecation&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.2.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;mainClass&gt;org.test.int1.Main&lt;/mainClass&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>
  
  <p>It looks like something is wrong with the jars... but I am not able to find the error.</p>
  
  <p>Any help will be appreciatted. Thank you.</p>