Hi Salaboy,
I followed your advice, and I have almost what I wanted.
Now, my application shows me this error, and I don't know because.
java.lang.NoClassDefFoundError: org/antlr/runtime/CharStream
[stderr] at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:394)
[stderr] at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:587)
[stderr] at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:41)
[stderr] at
drools.ejemplos.DroolsTest.readKnowledgeBase(DroolsTest.java:52)
[stderr] at drools.ejemplos.DroolsTest.execute(DroolsTest.java:35)
[stderr] at drools.ejemplos.DroolsTest.<init>(DroolsTest.java:29)
[stderr] at drools.ejemplos.Activator.start(Activator.java:14)
[stderr] at
org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:356)
[stderr] at
org.knopflerfish.framework.BundleThread.run(BundleThread.java:107)
[stderr] Caused by: java.lang.ClassNotFoundException:
org.antlr.runtime.CharStream
[stderr] at
org.knopflerfish.framework.BundleClassLoader.findClass(BundleClassLoader.java:235)
[stderr] at
org.knopflerfish.framework.BundleClassLoader.loadClass(BundleClassLoader.java:349)
[stderr] at java.lang.ClassLoader.loadClass(Unknown Source)
[stderr] ... 9 more
Do you have any idea about this?
Thanks in advance,
Jesús
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-bundle-in-OSGi-tp3626307p3628689...
Sent from the Drools: User forum mailing list archive at
Nabble.com.