title: Can't set up instrumentation for ActiveJDBC in Intellij IDEA Community
body: <p>I'm trying to setup ActiveJDBC instrumentation in Intellij IDEA, but although I performed all of the steps from the instruction, I can't get it to work.</p>
  
  <p>In my <code>pom.xml</code> I have the plugin enabled:</p>
  
  <pre><code>&lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.javalite&lt;/groupId&gt;
              &lt;artifactId&gt;activejdbc-instrumentation&lt;/artifactId&gt;
              &lt;version&gt;1.4.9&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;phase&gt;process-classes&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;instrument&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>Then I have created two tryout models that correspond with tables in my database: <code>Client</code> (to table <code>clients</code>) and <code>SiteUrl</code> (to table <code>site_urls</code>).</p>
  
  <p>I have also enabled instrumentation as Maven goal after Make in default configuration for JUnit. Actually, it seems it runs fine:</p>
  
  <pre><code>**************************** START INSTRUMENTATION ****************************
  Directory: /home/k-/Idea Projects/project/project/target/classes
  **************************** END INSTRUMENTATION ****************************
  **************************** START INSTRUMENTATION ****************************
  Directory: /home/k-/Idea Projects/project/project/target/test-classes
  Found model: package.persistance.Client
  Found model: package.persistance.SiteUrl
  Instrumented class: package.persistance.Client in directory: /home/k-/Idea%20Projects/project/project/target/classes/
  Instrumented class: package.persistance.SiteUrl in directory: /home/k-/Idea%20Projects/project/project/target/test-classes/
  **************************** END INSTRUMENTATION ****************************
  </code></pre>
  
  <p>But when I try to execute the following code, I get error:</p>
  
  <pre><code>public class FirstTests
  {
      @Test
      public void saveTest() {
          Base.open("com.mysql.jdbc.Driver", "jdbc:mysql://127.0.0.1/test_db", "root", "");
          Assert.assertTrue(Base.hasConnection());
  
          Client c = new Client();
          c.set("name", "client 1");
          c.saveIt();
      }
  }
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>org.javalite.activejdbc.DBException: failed to determine Model class name, are you sure models have been instrumented?
  </code></pre>
  
  <p>I can't figure out what might be wrong and how could I go about fixing it?</p>
  
  <p><strong>EDIT</strong>
  Tried building the project from command line. I'm not sure if I did it properly, here's the command I used:</p>
  
  <pre><code>mvn clean compile org.javalite:activejdbc-instrumentation:1.4.9:instrument assembly:single
  </code></pre>
  
  <p>But I still get the same error, asking if the models have been instrumented. But instrumentation output seems to be OK.</p>