A small update. It also works with the latest release, 24.09.02 that you can download from:
https://ofbiz.apache.org/download.html This means that the offending commit was done during the last week (just a guess but it may be related to the Tomcat upgrade). Jacopo On Fri, Aug 15, 2025 at 8:31 AM Jacopo Cappellato < [email protected]> wrote: > Hi Carlos, > > You are right, I can reproduce the same issue. > We are still investigating the root cause of the issue (it is probably a > regression caused by a commit not related to the rest-api plugin). > In the meantime, for your tests, you could download an older release from > the 24.09 series. For example, in 24.09.01 the rest-api plugin still works. > You can download 24.09.01 from here: > https://archive.apache.org/dist/ofbiz/apache-ofbiz-24.09.01.zip > > (the download files already contain the rest-api plugin, so you don't have > to get it from GitHub). > > Thanks, > Jacopo > > > On Sat, Aug 9, 2025 at 4:26 PM Carlos Navarro <[email protected]> > wrote: > >> 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 >> >
