Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>Is it right that datanucleus-db4o defines its own dependency with a specific version number? Is this a good way?</p> </blockquote> <p>I'm not sure I understood the question... Anyway, there is indeed something wrong with the <code>db4o:db4o</code> dependency of the datanucleus-db4o artifact: it is not available in Maven central nor in the <a href="http://www.datanucleus.org/downloads/maven2" rel="nofollow noreferrer">DataNucleus repository</a>. I don't understand how users are supposed to use the datanucleus-db4o artifact.</p> <blockquote> <p>I downloaded a newer Version of db4o and added it to the classpath. Maven keeps writing about the missing artifact.</p> </blockquote> <p>Not sure what you did exactly but maybe the following will work: exclude the dependency that can't be resolved and replace it with some equivalent from the db4o repository.</p> <pre><code>&lt;dependencies&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;exclusions&gt; &lt;exclusion&gt; &lt;groupId&gt;db4o&lt;/groupId&gt; &lt;artifactId&gt;db4o&lt;/artifactId&gt; &lt;/exclusion&gt; &lt;/exclusions&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;com.db4o&lt;/groupId&gt; &lt;artifactId&gt;db4o-full-java5&lt;/artifactId&gt; &lt;version&gt;7.12-SNAPSHOT&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;repositories&gt; ... &lt;repository&gt; &lt;id&gt;db4o&lt;/id&gt; &lt;url&gt;https://source.db4o.com/maven&lt;/url&gt; &lt;/repository&gt; &lt;/repositories&gt; </code></pre> <p>I have no idea if this will work of course.</p> <blockquote> <p>Also I've got NoClassDefFound errors when I launch my application. This leads me to the other question:</p> </blockquote> <p>Can't say since you didn't post the error. But give the above a try.</p>
    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.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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