See below.
On 23/08/2012, Suvek <suvek.shah(a)gmail.com> wrote:
Hi,
I have two projects 'validation' and 'service'. When I execute the rules
from unit tests under 'validation' project everything works fine. When the
same validations are invoked from 'service' project (service has mvn
dependency on validation project) I get the following error on the line
ResourceFactory.newClassPathResource(resourcePath, ResourceType.DRL );
java.lang.NoSuchFieldError:
COMPILER_OPT_ALLOW_RESOLVE_INNERCLASSES_WITH_DOTNOTATION
I looked up for the related issues but everyone says it is version
mismatch,
You won't hear anything else.
in my case its the same jars that are used in both the cases.
Which jars? The ones resulting from your application? All of the Drools runtime?
Check the path on both projects, check the Drools jars...
See the explanation of java.lang.NoSuchFieldError.
-W
what could be the reason?
thanks
--
View this message in context:
http://drools.46999.n3.nabble.com/java-lang-NoSuchFieldError-COMPILER-OPT...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users