[rules-users] Problem in adding a Class to PKG

DerLonG Longbow98 at gmx.de
Fri Oct 21 06:22:00 EDT 2011


laune wrote:
> 
> If you can't import it with a DRL import, it's either misspelled or not in
> the classpath.
> 
I try to add it with the following code:

PackageBuilder builder = new PackageBuilder();
Resource rs =
ResourceFactory.newClassPathResource("de\\test\\xml\\KundenEntscheidung");
builder.addDsl(rs);

But my programm throws always:
java.io.FileNotFoundException: 'de\test\xml\KundenEntscheidung' cannot be
opened because it does not exist




--
View this message in context: http://drools.46999.n3.nabble.com/Problem-in-adding-a-Class-to-PKG-tp3437199p3440469.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list