关于“The type **** is not accessible due to restriction on required library”问题的解决

来源:互联网 发布:淘宝详情页750改950 编辑:程序博客网 时间:2024/06/06 12:30

        使用导入Drools的Demo项目后,RuleBase类里所有的import org.drools.** 都出现警告:The type **** is not accessible due to restriction on required library.

        解决方法:

                 编辑Drools Library 引用,新建一条访问规则(其它出现这个警告的情况解决方法也类似):