I am studying the odata protocal, and find the odata4j, but when I follow the Consumers Example, an exception occurred, "java.lang.IllegalArgumentException: Unknown ODataVersion 3.0". I debug it and found the odata4j is not supported odata version 3. My question is how can I fix it, or how can I use odata4j? Can I change something to make the version to 2 or 1?? Thank you very much. By the way, I dowloaded the latest odata4j, which is version 0.7.
How to handle the "Unknow ODataVersion 3.0" exception when I use odata4j?
712 views Asked by jason At
1
There are 1 answers
Related Questions in ODATA
- How to serialize the entire Microsoft.AspNetCore.OData.Results.PageResult<T> object with Newtonsoft.Json in .NET 6?
- possible to index singleValueExtendedProperties in MsGraph?
- D365 F&O - Cannot post addresses with OData
- How to get access token correctly from SAP Successfactors api?
- Odata filter DateTime casting string to DateTime and Filtering
- Response payload is not odata payload
- how to remove namespace from query string to filter an enum field with OData V4 in .NET
- Odata Put endpoint doesn't work as expected on ASP.NET Core MVC web service
- Odata filter query Unrecognized 'Edm.String' literal 'datetime'
- OData unit testing in .NET Core 6.0
- OData rest API with MS Project Online (SharePoint) "User not found in active directory or Project db
- How to upload data in power apps table using python
- ASP.NET Core OData creating generic pass through controller for underlying APIs
- MS Graph /drives/{drive-id}/items/{item-id}/children filter not folders
- Connecting to URL with Token within SSIS
Related Questions in ODATA4J
- Teiid-wildfly Odata4 Server side validation
- OdataV3 implementation in Java
- ODATA 4J Post Method with basic authentication
- Consume OData on Android
- get Edm from InputStream/String Olingo4
- C# OData4 Apply OData query without controller returning Queryable
- how to join two table in odata4j
- How to start odata4j and olingo odatav2 on android
- odata4j requests metadata too many times
- CSRF token validation failed in Odata4j
- Sending an Image through Web Service
- to implement OData services, which is better Apache Olingo or OData4j?
- How do you post to a Web API 2 OData Controller
- How to make OData pick RestEasy as provider?
- Odata4j Android - Illegal datetime format
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
A sincere recommendation is to switch to Apache Olingo if you would like to implement OData services or clients on the Java platform. The only reason is that OData4J hasn't been updated for more than a year and is not currently supported or maintained. Apache Olingo, on the other hand, is been actively contributed by SAP, Microsoft, and many others. Thus, there are also more samples and documentations there.