title: Drools: cannot start container on remote kie-server, for "Could not find artifact ..."
body: <p>On a server with drools workbench and KIE server both installed, I authored a project, and got it built and deployed. Also, <strong>I can start a container for it locally</strong>.</p>
  
  <p>But I <strong>could not create a container for it on a remote server</strong>, and got the following error on remote server:</p>
  
  <pre><code>Unable to resolve artifact: testdrools:firstApplication:pom:1.3
  org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact testdrools:firstApplication:pom:1.3 in central (http://repo1.maven.org/maven2/)
  </code></pre>
  
  <p>With the limited knowledge on MAVEN I learnt from <a href="https://stackoverflow.com/questions/27110014/could-not-find-artifact-in-maven-central-repo-when-search-returns-a-match">this</a>, it seems what the KIE server tries to resolve, "<strong>testdrools:firstApplication:pom:1.3</strong>", does exist, since part of the pom.xml extracted from *.jar file is as follows:</p>
  
  <pre><code>  &lt;groupId&gt;testdrools&lt;/groupId&gt;
    &lt;artifactId&gt;firstApplication&lt;/artifactId&gt;
    &lt;version&gt;1.3&lt;/version&gt;
    &lt;name&gt;firstApplication&lt;/name&gt;
    &lt;build&gt;
      &lt;plugins&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.kie&lt;/groupId&gt;
          &lt;artifactId&gt;kie-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;6.2.0.Final&lt;/version&gt;
          &lt;extensions&gt;true&lt;/extensions&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Could somebody give me any hint on <strong>why I can't create a remote container for this case</strong>?</p>
  
  <hr>
  
  <p>We found <strong>a workaround</strong> for this problem. While trying to re-produce this problem, we got the error again:</p>
  
  <pre><code>Could not find artifact droolstest:droolsTestProj2:pom:1.1 in local (file:/root/.m2/repository/)
  </code></pre>
  
  <p>So we downloaded the "droolsTestProj2-1.1.jar" file from artifact repository of workbench, and copy it to "/root/.m2/repository/droolstest/droolsTestProj2/1.1". Container started up after refreshing.</p>
  
  <p>It seems workbench failed to send the *.jar file to KIE server. Share your ideas on this, please.</p>