Missing atificat for ObjectDB?

#1

Hello! I am testing the Spring MVC and JPA tutorial, and always got an error in the POM file:

<dependency>
    <groupId>com.objectdb</groupId>
    <artifactId>objectdb</artifactId>
    <version>2.0.4</version>
</dependency>

 

There is a red flag on this dependency and says missing aritificat com.objectdb.objectdb.jar. After I remove this section, the POM file is ok. I am running Eclipse EE and following the tutorial.

I am new to Maven. What's the problem? Thanks.

 

#2

Use version 2.5.3, which is the latest one, not 2.0.4.

You should also make sure that ObjectDB Maven repository is specified in your pom.xml:

<repositories>
  <repository>
   <id>objectdb</id>
   <name>ObjectDB Repository</name>
   <url>http://m2.objectdb.com</url>
  </repository>
</repositories>

It should be ok now.

#3

That you. What's strange is that it still can't work. I checked Windows' users directory, local .m2 repository, and found under com/objectdb/objectdb, there are only two files:

objectdb-2.5.3.jar.lastUpdated

objectdb-2.5.3.pom.lastUpdated

 

They should have been "xxx.jar" and "xxx.pom", with another file named "_maven.repositories", which is missing. It seems somehow the update is partially completed.

 

Any further idea? Thanks.

 

#4

Do I have to move the objectdb package to our company's own maven repository? Our tunnel starts with localhost:8081/

 

Or I don't have to move? Thanks.

#5

You may try moving the ObjectDB package manually, although it should work automatically.

It is unclear why you have these issues. You may try other ObjectDB version, e.g. 2.5.2, and see what is downloaded to your local Maven repository.

ObjectDB Support

Reply