Description of problem: Class drools-spring-legacy5/src/main/java/org/drools/container/spring/beans/persistence/DroolsSpringJpaManager.java references org.kie.api.runtime.Environment, but it should reference org.drools.runtime.Environment. Similar problem is in drools-spring-legacy5/org/drools/container/spring/beans/KnowledgeBaseBeanFactory.java: org.kie.api.runtime.rule.AccumulateFunction is used instead of org.drools.runtime.rule.AccumulateFunction. Other classes could be affected as well. Setting the priority to high because this bug breaks backward compatibility. Version-Release number of selected component (if applicable): Drools 6.0.0-SNAPSHOT BRMS 6.0.0 ER4
Fixed Environment compatibility with https://github.com/droolsjbpm/drools/commit/0138c4e29 and https://github.com/droolsjbpm/droolsjbpm-integration/commit/a2e83cf78 I don't think it is possible to achieve the same with the AccumulateFunction.
Verified the Environment fix on BRMS 6.0.0 ER7. I will investigate the AccumulateFunction further and file another bug, if needed.