<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:kie="http://drools.org/schema/kie-spring"
xsi:schemaLocation="http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://drools.org/schema/kie-spring
http://drools.org/schema/kie-spring.xsd">
<kie:kmodule id="kmodule1">
<kie:kbase name="rules" packages="com.spring.drool.rules">
<kie:ksession name="ksession-rules" type="stateless" />
</kie:kbase>
</kie:kmodule>
<beans:bean id="kiePostProcessor"
class="org.kie.spring.KModuleBeanFactoryPostProcessor">
</beans:bean>
</beans>
我正在尝试将drools与spring mvc集成我在servlet-context.xml中遇到一些错误
错误1:http://drools.org/schema/kie-spring.xsd
此行找到多个注释:
- schema_reference.4:无法读取模式文档http://drools.org/schema/kie-spring.xsd
,因为
1)找不到文件; 2)文件无法阅读; 3)文档的根元素不是