Hello community!

Apache OFBiz: 24
OS: Windows 10
Java: 17


For an Apache OFBiz 24 instance, running java 17, I'm trying to get the
rest-api plugin I got from https://github.com/apache/ofbiz-plugins to work
correctly.

Once the plugin was downloaded and located in the Plugins folder, I ran the
gradlew "install" -PcomponentName=rest-api command to install it (the
installation went smoothly). I started OFBiz with gradlew "ofbiz --start"
but when I try to access https://localhost:8443/rest from a browser, a 404
error occurs (HTTP Status 404 – Not Found Type Status Report Description
The origin server did not find a current representation for the target
resource or is not willing to disclose that one exists. Apache
Tomcat/10.1.43) and when I try to access the url
https://localhost:8443/docs/swagger-ui.html, the browser displays the
document correctly but the following error also appears "Failed to load API
definition. Fetch error response status is 404
https://localhost:8443/rest/openapi.json";. The rest of the OFBiz modules
run correctly as far as I can tell and when I access the url of the
rest-api plugin, I don't see any errors in the console or in the logs. Am I
skipping any steps or making a mistake?

Thanks in advance.

Carlos Navarro

Reply via email to