KnowledgeBuilderProviderImpl is in drools-compiler.
-W
On Tue, Apr 21, 2009 at 10:05 AM, Brody bach <brodybach(a)yahoo.com> wrote:
Hi all,
I'm using CR1 version of drools and when I tried to create
KnowledgeBuilder:
if (rulePackage.exists()) {
final KnowledgeBuilder kbuilder =
KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newFileResource(rulePackage),
ResourceType.PKG);
.....
I got the ProviderInitializationException as follows:
09:38:18,125 ERROR [test.drools.common.ejb.ExceptionInterceptor] []
Provider
org.drools.builder.impl.KnowledgeBuilderProviderImpl could not be set.
org.drools.ProviderInitializationException: Provider
org.drools.builder.impl.KnowledgeBuilderProviderImpl could not be set.
at
org.drools.builder.KnowledgeBuilderFactory.loadProvider(KnowledgeBuilderFactory.java:111)
at
org.drools.builder.KnowledgeBuilderFactory.getKnowledgeBuilderProvider(KnowledgeBuilderFactory.java:101)
at
org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:29)
I use drools-core and drools-api in the project and I found out that the
class Provider org.drools.builder.impl.KnowledgeBuilderProviderImpl doesn't
even exist. Do I miss any package?
And a second question, when will the javadoc of drools be online again? ;-)
Thanks
Brody
--
View this message in context:
http://www.nabble.com/ProviderInitializationException-in-creating-Knowled...
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users