Configure drools with spring. xsd errors

烈酒焚心 提交于 2019-12-06 04:47:43

The reason you are getting the error is because http://drools.org/schema/drools-spring.xsd doesn't serve. If you find a URI that serves it properly, your error should go away. An example URI I've found is http://grepcode.com/file_/repository.jboss.org/nexus/content/repositories/releases/org.drools/drools-spring/5.6.0.Final/org/drools/container/spring/drools-spring.xsd/?v=source

I'm trying to find a more reliable reference through in the following stack overflow question: Location of drools-spring.xsd on git hub

I suspect that the issue is that you're using Spring 3.1, but making use of drools-spring XML config, which loads in some pretty old and derepit Spring dependencies.

I would recommend avoiding the use of the drools-spring XML configuration. Just configure a Spring bean to contain your knowledge base and act as the interface to it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!