Note that there are some explanatory texts on larger screens.

plurals
  1. POMaven missing transitive dependency
    primarykey
    data
    text
    <p>I have a maven project with a dependency (datanucleus-db4o). This dependency has itself a dependency on db4o (db4o:db4o:jar:7.12.126.14142-all-java5). </p> <p>Now maven says: </p> <pre><code>09.09.10 19:43:09 MESZ: Missing artifact db4o:db4o:jar:7.12.126.14142-all-java5:compile </code></pre> <p>I am new to maven. Is it right that datanucleus-db4o defines its own dependency with a specific version number? Is this a good way? m2eclipse can't download it. I downloaded a newer Version of db4o and added it to the classpath. Maven keeps writing about the missing artifact.</p> <p>Also I've got NoClassDefFound errors when I launch my application. This leads me to the other question:</p> <p>Am I doing something wrong?</p> <p>Thanks in advance.</p> <p>Here is the relevant part of the pom.xml...</p> <pre><code>&lt;dependency&gt; &lt;groupId&gt;org.datanucleus&lt;/groupId&gt; &lt;artifactId&gt;datanucleus-core&lt;/artifactId&gt; &lt;version&gt;2.2.0-m1&lt;/version&gt; &lt;type&gt;jar&lt;/type&gt; &lt;scope&gt;runtime&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.datanucleus&lt;/groupId&gt; &lt;artifactId&gt;datanucleus-db4o&lt;/artifactId&gt; &lt;version&gt;2.1.1&lt;/version&gt; &lt;type&gt;jar&lt;/type&gt; &lt;scope&gt;compile&lt;/scope&gt; &lt;/dependency&gt; </code></pre> <p>and here is the relevant part of the pom.xml of </p> <pre><code>&lt;dependency&gt; &lt;groupId&gt;db4o&lt;/groupId&gt; &lt;artifactId&gt;db4o&lt;/artifactId&gt; &lt;version&gt;7.12.126.14142-all-java5&lt;/version&gt; &lt;/dependency&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload