I can't figure out what has changed, but I am now getting a
compilation error during the task 'test' when I try to build. Does anybody
have any insights as to what may have happened? The error I get is below. I
am running a heavily customized 18.12 on a Windows 11 development machine.
After this failure, if I copy the entire directory from a machine that
works, it will still fail even though the OFBiz directory is identical to
the working machine. Thank you for any help you can provide.
PS C:\ofbiz.18.12> .\gradlew
Listening for transport dt_socket at address: 8091
> Task :compileJava UP-TO-DATE
> Task :compileGroovy UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :jar UP-TO-DATE
> Task :assemble UP-TO-DATE
> Task :compileTestJava UP-TO-DATE
> Task :compileTestGroovy UP-TO-DATE
> Task :processTestResources UP-TO-DATE
> Task :testClasses UP-TO-DATE
> Task :test
org.apache.ofbiz.entity.DelegatorUnitTests >
delegatorCreationUsingConstructorFailsIfConfigurationIsMissing FAILED
java.lang.AssertionError
org.apache.ofbiz.entity.DelegatorUnitTests >
delegatorCreationUsingFactoryGetDelegator FAILED
java.lang.AssertionError at DelegatorUnitTests.java:87
org.apache.ofbiz.entity.DelegatorUnitTests >
delegatorCreationUsingFactoryGetInstance FAILED
java.lang.AssertionError at DelegatorUnitTests.java:75
org.apache.ofbiz.entity.DelegatorUnitTests >
delegatorCreationUsingConstructor FAILED
org.apache.ofbiz.entity.GenericEntityConfException at
DelegatorUnitTests.java:63
org.apache.ofbiz.entity.util.EntitySaxReaderTests > parse FAILED
java.lang.IllegalStateException at EntitySaxReaderTests.java:82
47 tests completed, 5 failed
> Task :test FAILED
FAILURE: Build failed with an exception.