SAP / olingo-jpa-processor-v4

The JPA Processor fills the gap between Olingo V4 and the database, by providing a mapping between JPA metadata and OData metadata, generating queries and supporting the entity manipulations.
Apache License 2.0
122 stars 78 forks source link

Build Failure while following QuickStart #274

Closed preston-jose closed 7 months ago

preston-jose commented 7 months ago

Have installed jpa using maven and also installed archetype (not with eclipse, cli). Is there anything else missing in the quickstart? image

wog48 commented 7 months ago

I assume that you have build the archetype using mvn clean install archetype:update-local-catalog. Nevertheless, it can happen that the local catalog is not updated. Please check if there is a archetype-catalog.xml file within the .m2 directory. The file shall contain at least the following:

  xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0 http://maven.apache.org/xsd/archetype-catalog-1.0.0.xsd">
  <archetypes>
    <archetype>
        <groupId>com.sap.olingo</groupId>
        <artifactId>odata-jpa-archetype-spring</artifactId>
        <version>2.1.0</version>
    </archetype>
  </archetypes>
</archetype-catalog>
wog48 commented 7 months ago

Please re-open the issue if the give hint does not help