Hi,
I refer to a JIRA issue 578, which was rejected, however I am still having dramas with it:
When attempting to create a package from a class called by a JSP ( see below) I get the following error:
CharScanner; panic: ClassNotFoundException: org.antlr.stringtemplate.language.ChunkToken
Stopping the Weblogic Workshop debugger...
Debugger Stopped.
The Weblogic server stops as well.
Here is the code snippet called by the jsp
PackageBuilderConfiguration pkgBuilderCfg = new PackageBuilderConfiguration();
pkgBuilderCfg.setCompiler(PackageBuilderConfiguration.JANINO);
PackageBuilder builder = new PackageBuilder(pkgBuilderCfg);
builder.addPackageFromDrl((new InputStreamReader(new FileInputStream("c:\\myruleresource.drl")) ) );
The solution seemed to be:
It seems it is a classpath issue with Weblogic.I added the antlr-2.7.7.jar to the pre classpath and the errror no longer manifests itself
Well I have tried the above and it does not work. I am using weblogic 8.1. This is driving me round the twist any help is greatly appreciated. What version on antlr should I be using with drools3?
Cheers,
Matt.
Matt Shaw
Snr Applications Developer
Service Performance & Management Unit
Phone: 3247 8666. ext. 94666