Yes the POJO is uploaded because as I told u it is working with Tomcat but
not with Jboss
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource( "ChangeSet.xml"
),ResourceType.CHANGE_SET );
and in the changeset.xml I have the following:
<change-set
xmlns='http://drools.org/drools-5.0/change-set'
xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
xs:schemaLocation='http://drools.org/drools-5.0/change-set
drools-change-set-5.0.xsd' >
<add>
<resource source='classpath://drl/' type='DRL' />
</add>
</change-set>
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Error-on-Rule-Parsing...
Sent from the Drools - User mailing list archive at
Nabble.com.