title: classpath error: unable to find org.aspectj.lang.JoinPoint
body: <p>I am using maven to build my project. It was compiling successfully earlier. It has started to give an error when I do <code>mvn clean install</code>.</p>
  
  <blockquote>
    <p><code>[ERROR] classpath error: unable to find org.aspectj.lang.JoinPoint (check that aspectjrt.jar is in your classpath)</code></p>
  </blockquote>
  
  <p>Below is my pom.xml</p>
  
  <pre class="lang-xml prettyprint-override"><code>&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;groupId&gt;com.guavus&lt;/groupId&gt;
      &lt;artifactId&gt;Exporter&lt;/artifactId&gt;
      &lt;version&gt;atlas2.1&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;name&gt;Exporter&lt;/name&gt;
      &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;aspectj.version&gt;1.6.10&lt;/aspectj.version&gt;
          &lt;org.springframework.version&gt;3.0.5.RELEASE&lt;/org.springframework.version&gt;        
      &lt;/properties&gt;
  
      &lt;build&gt;
           &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.0-beta-2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;reportPlugins&gt;
                          &lt;plugin&gt;
                              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                              &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
                              &lt;version&gt;2.7&lt;/version&gt;
                          &lt;/plugin&gt;
                          &lt;plugin&gt;
                              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                              &lt;artifactId&gt;maven-jxr-plugin&lt;/artifactId&gt;
                              &lt;version&gt;2.1&lt;/version&gt;
                              &lt;configuration&gt;
                                  &lt;aggregate&gt;true&lt;/aggregate&gt;
                              &lt;/configuration&gt;
                          &lt;/plugin&gt;
                          &lt;plugin&gt;
                              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                              &lt;artifactId&gt;maven-surefire-report-plugin&lt;/artifactId&gt;
                              &lt;version&gt;2.6&lt;/version&gt;
                          &lt;/plugin&gt;
                          &lt;plugin&gt;
                              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                              &lt;artifactId&gt;cobertura-maven-plugin&lt;/artifactId&gt;
                              &lt;version&gt;2.4&lt;/version&gt;
                              &lt;configuration&gt;
                                  &lt;formats&gt;
                                      &lt;format&gt;xml&lt;/format&gt;
                                      &lt;format&gt;html&lt;/format&gt;
                                  &lt;/formats&gt;
                              &lt;/configuration&gt;
                          &lt;/plugin&gt;
                          &lt;!--
                              plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                              &lt;artifactId&gt;maven-checkstyle-plugin&lt;/artifactId&gt;
                              &lt;version&gt;2.6&lt;/version&gt; &lt;/plugin
                          --&gt;
                          &lt;plugin&gt;
                              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                              &lt;artifactId&gt;maven-pmd-plugin&lt;/artifactId&gt;
                              &lt;version&gt;2.5&lt;/version&gt;
                              &lt;configuration&gt;
                                  &lt;rulesets&gt;
                                      &lt;ruleset&gt;/rulesets/basic.xml&lt;/ruleset&gt;
                                      &lt;ruleset&gt;/rulesets/design.xml&lt;/ruleset&gt;
                                      &lt;ruleset&gt;/rulesets/logging-java.xml&lt;/ruleset&gt;
                                  &lt;/rulesets&gt;
                                  &lt;targetJdk&gt;1.5&lt;/targetJdk&gt;
                                  &lt;format&gt;xml&lt;/format&gt;
                                  &lt;linkXref&gt;true&lt;/linkXref&gt;
                                  &lt;sourceEncoding&gt;utf-8&lt;/sourceEncoding&gt;
                                  &lt;minimumTokens&gt;100&lt;/minimumTokens&gt;
                              &lt;/configuration&gt;
                          &lt;/plugin&gt;
                          &lt;plugin&gt;
                              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                              &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
                              &lt;version&gt;2.3.1&lt;/version&gt;
                          &lt;/plugin&gt;
                      &lt;/reportPlugins&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;aspectj-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.3&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                      &lt;aspectDirectory&gt;src/main/aspect&lt;/aspectDirectory&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;compile&lt;/goal&gt;       &lt;!-- use this goal to weave all your main classes --&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                 &lt;/executions&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
                          &lt;artifactId&gt;aspectjtools&lt;/artifactId&gt;
                          &lt;version&gt;${aspectj.version}&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
             &lt;/plugin&gt;        
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;dependencies&gt;
      &lt;!-- local snapshots  --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.guavus&lt;/groupId&gt;
              &lt;artifactId&gt;CubeCreator&lt;/artifactId&gt;
              &lt;version&gt;atlas2.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.guavus&lt;/groupId&gt;
              &lt;artifactId&gt;ConcurrentFlows&lt;/artifactId&gt;
              &lt;version&gt;atlas2.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;ps&lt;/groupId&gt;
              &lt;artifactId&gt;thriftGenerated&lt;/artifactId&gt;
              &lt;version&gt;atlas2.1&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;!-- local snapshots  --&gt;
      &lt;!-- local 3rd Party --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;apache&lt;/groupId&gt;
              &lt;artifactId&gt;libthrift&lt;/artifactId&gt;
              &lt;version&gt;0.5.0&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;!-- local 3rd Party --&gt;
      &lt;!-- remote 3rd Party --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
              &lt;artifactId&gt;hadoop-core&lt;/artifactId&gt;
              &lt;version&gt;0.20.203.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
            &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
            &lt;artifactId&gt;gson&lt;/artifactId&gt;
            &lt;version&gt;1.7.1&lt;/version&gt;
          &lt;/dependency&gt;
  
      &lt;!-- remote 3rd Party --&gt;
          &lt;!-- test libs --&gt;
          &lt;!-- test libs --&gt;
      &lt;dependency&gt;
                  &lt;groupId&gt;log4j&lt;/groupId&gt;
                          &lt;artifactId&gt;log4j&lt;/artifactId&gt;
                  &lt;version&gt;1.2.16&lt;/version&gt;
          &lt;/dependency&gt;
                  &lt;dependency&gt;
                  &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                  &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
                  &lt;version&gt;1.6.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
              &lt;artifactId&gt;logback-access&lt;/artifactId&gt;
                  &lt;version&gt;1.0.1&lt;/version&gt;
          &lt;/dependency&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.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
                  &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
              &lt;artifactId&gt;logback-core&lt;/artifactId&gt;
                  &lt;version&gt;1.0.1&lt;/version&gt;
          &lt;/dependency&gt;
  
  
      &lt;/dependencies&gt;
  
  &lt;/project&gt;
  </code></pre>