> Hello:
> I have the drools5 embedded in an ear. When running aginst JBoss 5
> gets the following classnotfound exception but it works okay with
> websphere and pramati application server. Wondering if someone could
> throw some pointers.
>
> Please note that drools-compiler, drools-core etc are all in the ear
> and added to the manifest.
>
> Thanks,
> cabear
>
> java.lang.NoClassDefFoundError:
> org/drools/base/extractors/BaseObjectClassFieldReader
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
> at org.drools.base.ClassFieldAccessorCache
> $ByteArrayClassLoader.defineClass(ClassFieldAccessorCache.java:367)
> at
> org.drools.base.ClassFieldAccessorFactory.getClassFieldReader(ClassFieldAccessorFactory.java:135)
> at org.drools.base.ClassFieldAccessorCache
> $CacheEntry.getReadAccessor(ClassFieldAccessorCache.java:315)
> at
> org.drools.base.ClassFieldAccessorCache.getReadAcessor(ClassFieldAccessorCache.java:245)
> at
> org.drools.base.ClassFieldAccessorStore.wire(ClassFieldAccessorStore.java:379)
> at
> org.drools.base.ClassFieldAccessorStore.getReader(ClassFieldAccessorStore.java:97)
> at
> org.drools.base.ClassFieldAccessorStore.getReader(ClassFieldAccessorStore.java:74)
> at
> org.drools.rule.builder.PatternBuilder.getFieldReadAccessor(PatternBuilder.java:1031)
> at
> org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:560)
> at
> org.drools.rule.builder.PatternBuilder.buildConstraint(PatternBuilder.java:235)
> at
> org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:196)
> at
> org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:104)
> at
> org.drools.rule.builder.GroupElementBuilder.build(GroupElementBuilder.java:69)
> at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:68)
> at
> org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:1159)
> at
> org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:649)
> at
> org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:290)
> at
> org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:488)
> _______________________________________________