We are using optaplanner 9.44.0.Final version for our spring project and i am facing below exception
19:19:18,464 ERROR [stderr] (default task-2) java.io.IOException: An established connection was aborted by the software in your host machine
19:19:18,465 ERROR [stderr] (default task-2) at java.base/sun.nio.ch.SocketDispatcher.writev0(Native Method)
19:19:18,465 ERROR [stderr] (default task-2) at java.base/sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:58)
19:19:18,465 ERROR [stderr] (default task-2) at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:217)
19:19:18,465 ERROR [stderr] (default task-2) at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:153)
19:19:18,465 ERROR [stderr] (default task-2) at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:563)
19:19:18,465 ERROR [stderr] (default task-2) at [email protected]//org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:162)
19:19:18,465 ERROR [stderr] (default task-2) at [email protected]//org.xnio.conduits.AbstractStreamSinkConduit.write(AbstractStreamSinkConduit.java:55)
Followed by below error
19:19:21,913 ERROR [stderr] (default task-1) org.kie.memorycompiler.KieMemoryCompilerException: [org/drools/ancompiler/Compiledcom_vision360_business_shift_entity_ShiftOccurrenceNetwork31024483268.java (2:121) : cannot find symbol
19:19:21,913 ERROR [stderr] (default task-1) symbol: class CompiledNetwork
19:19:21,913 ERROR [stderr] (default task-1) location: package org.drools.ancompiler, org/drools/ancompiler/Compiledcom_vision360_business_shift_entity_ShiftOccurrenceNetwork31024483268.java (4:30) : package org.drools.base.rule.accessor does not exist, org/drools/ancompiler/Compiledcom_vision360_business_shift_entity_ShiftOccurrenceNetwork31024483268.java (6:46) : package org.drools.modelcompiler.constraints does not exist, org/drools/ancompiler/Compiledcom_vision360_business_shift_entity_ShiftOccurrenceNetwork31024483268.java (7:29) : package org.drools.base.rule does not exist, org/drools/ancompiler/Compiledcom_vision360_business_shift_entity_ShiftOccurrenceNetwork31024483268.java (8:31) : package org.drools.core.reteoo does not exist, org/drools/ancompiler/Compiledcom_vision360_business_shift_entity_ShiftOccurrenceNetwork31024483268.java (9:31) : package org.drools.core.reteoo does not exist, org/drools/ancompiler/Compiledcom_vision360_business_shift_entity_ShiftOccurrenceNetwork31024483268.java (10:115) : package org.drools.base.rule.accessor does not exist, org/drools/ancompiler/Compiledcom_vision360_business_shift_entity_ShiftOccurrenceNetwork31024483268.java (10:191) : package org.drools.core.util.index does not exist, org/drools/ancompiler/Compiledcom_vision360_business_shift_entity_ShiftOccurrenceNetwork31024483268.java (13:109) : package org.drools.base.common does not exist,
As i understand from this link https://www.optaplanner.org/docs/optaplanner/latest/integration/integration.html#integrationWithSpringBoot
Drools score calculation is currently incompatible with the spring-boot-devtools dependency
And hence I have written custom ConstraintProvider and configured the same in solverConfig.xml
com.vision360.business.shift.entity.ShiftOccurrenceConstraintProvider
This doesnt seem to be helping in avoiding the usage of drools package which is causing the above errors
Could you please suggest about this error