cancel
Showing results for 
Search instead for 
Did you mean: 

XSA OData v4: No OData Endpoint found for this URL

uneu
Discoverer
0 Kudos

Hi experts,

I followed the "Create OData v4 Services for XSA Java Application" tutorial and also the youtube video from SAP Hana Acadmey (https://www.youtube.com/watch?v=rF0Fby3PqUU). I needed also some hints from the internet.

But at the end I got always the error "No OData Endpoint found for this URL".

My cds entity locks like:

namespace OData4Services.DB;<br><br>@OData.publish : true<br>context ContextName {<br>    entity MyEntity {<br>        key myID : Integer;<br>    };<br>}

I uses the URL: https://<subdomain>.<host>.<domain>:<port>/java/odata/v4/OData4Services.DB._.ContextName.

During start up off the java app I saw following error

3/8/23 4:20:12.413 PM [APP/1-0] ERR   #2.0#2023 03 08 16:20:12.411#+01:00#ERROR#com.sap.cloud.sdk.service.prov.v4.rt.core.web.ODataApplicationInitializer#
3/8/23 4:20:12.413 PM [APP/1-0] ERR   ###D0BFC6ACBDE24069AD47BEBD4B84BB51###com.sap.cloud.sdk.service.prov.v4.rt.core.web.ODataApplicationInitializer########localhost-startStop-1#PLAIN##
3/8/23 4:20:12.413 PM [APP/1-0] ERR   while trying to invoke the method java.net.URL.getPath() of a null object returned from java.lang.ClassLoader.getResource(java.lang.String)

Did anybody have some clues?

Accepted Solutions (0)

Answers (0)