You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 22, 2024. It is now read-only.
I followed the instructions to build and run the sandbox system as described in the README.
While testing the API with Postman, I encountered the problem that the provided examples no longer with the latest updates.
For example, I get the following error log when I try to POST a CompanyInformation to the http://localhost:8080/companies endpoint:
2022-03-17 19:28:01.677 ERROR 1 --- [nio-8080-exec-2] o.a.c.c.C.[.[.[/].
[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is cz.cvut.kbss.jsonld.exception.TargetTypeException: Neither class org.iata.cargo.model.Company nor any of its subclasses matches the types [https://onerecord.iata.org/cargo/Company].] with root cause
cz.cvut.kbss.jsonld.exception.TargetTypeException: Neither class org.iata.cargo.model.Company nor any of its subclasses matches the types [https://onerecord.iata.org/cargo/Company].
at cz.cvut.kbss.jsonld.deserialization.util.TargetClassResolver.getTargetClass(TargetClassResolver.java:73) ~[jb4jsonld-0.8.4.jar!/:na] at cz.cvut.kbss.jsonld.deserialization.DefaultInstanceBuilder.openObjectForProperty(DefaultInstanceBuilder.java:80) ~[jb4jsonld-0.8.4.jar!/:na]