天天看点

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

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

        解决方法:

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

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