[rules-users] Unable to get LastModified for ClasspathResource
sottostee
stefano.dimonte at gmail.com
Thu Jul 18 05:45:12 EDT 2013
Thank you for reply Davide, but still nothing...
The exception is the same:
java.lang.RuntimeException: Unable to get LastModified for ClasspathResource
at
org.drools.io.impl.ClassPathResource.getLastModified(ClassPathResource.java:204)
at
org.drools.io.impl.ClassPathResource.getInputStream(ClassPathResource.java:141)
at org.drools.compiler.DrlParser.parse(DrlParser.java:145)
at org.drools.compiler.DrlParser.parse(DrlParser.java:139)
at
org.drools.compiler.PackageBuilder.drlToPackageDescr(PackageBuilder.java:477)
at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:466)
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:694)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:40)
at rec.reasoner.Reasoner.init(Reasoner.java:192)
at rec.reasoner.Reasoner.<init>(Reasoner.java:176)
at rec.reasoner.Reasoner.newReasoner(Reasoner.java:51)
at rec.model.Model.<init>(Model.java:37)
at rec.controller.Controller.<init>(Controller.java:26)
at applet.Demo.<init>(Demo.java:18)
at applet.Demo.main(Demo.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.io.FileNotFoundException:
'rec/reasoner/General_multivalue.drl' cannot be opened because it does not
exist
at org.drools.io.impl.ClassPathResource.getURL(ClassPathResource.java:165)
at
org.drools.io.impl.ClassPathResource.getLastModified(ClassPathResource.java:177)
... 20 more
with or without the leading "/".
--
View this message in context: http://drools.46999.n3.nabble.com/Unable-to-get-LastModified-for-ClasspathResource-tp4025031p4025040.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list