Ok, I have merged a pull request [1] that resolves the issue.

Here is some background information.

Buildbot is configured to test a *framework-only* deployment, contrary to
what our current GitHub Actions do, i.e., they test the framework with all
the plugins.
Actually the configuration of Buildbot is the right one and I will create a
separate thread to discuss the need to redesign of our CI/CD in GitHub in
order to reverse the dependency between ofbiz-framework and ofbiz-plugins
(the CI/CD workflows in ofbiz-plugins should pull the framework and run all
the tests, not vice versa as it is now).

On a *framework-only* deployment (such as the one tested by Buildbot), the
tests were failing because SimpleMethodTest (in the main source set of
framework/testtools) statically initializes MockHttpServletResponse, which
at class-load time references org.springframework.http.MediaType from
spring-web. spring-web was never declared as a direct dependency, it was
only arriving transitively via the LDAP plugin's CAS dependency. Without
any plugins, it's missing from the classpath.

I am going to apply a similar fix to the release24.09 branch.

Jacopo

[1] https://github.com/apache/ofbiz-framework/pull/1050

On Thu, Apr 2, 2026 at 5:38 PM Jacopo Cappellato <
[email protected]> wrote:

> Hi Jacques,
>
> I will have a look.
>
> Jacopo
>
> On Thu, Apr 2, 2026 at 5:25 PM Jacques Le Roux via dev <
> [email protected]> wrote:
>
>> Hi Jacopo,
>>
>> We have a springframework testIntegration issue since
>> https://ci2.apache.org/#/builders/49/builds/1345
>>
>> No commit passed since (same issue):
>> https://ci2.apache.org/#/builders/49/builds/1350
>>
>> I suggest to revert the minor springframework upgrade from 6.2.17 to
>> 6.2.16, to see if it's the only issue.
>>
>> Jacques
>>
>>

Reply via email to