[rules-users] Re: JUnit and classpath
Mark Proctor
mproctor at codehaus.org
Wed Jan 2 09:08:28 EST 2008
It gets a null pointer and says it can't use ASM in MVEL, thus uses
reflection mode. That's fine as reflection is the mode we put MVEL in
anyway.
Mark
J Michael Dean wrote:
> Thanks. When I do that, there is no reference to org.objectweb.asm,
> nor is there even any reference to any asm library. The information is
> about 800 lines long and it clearly shows classes loading from my
> "minimal core Drools" plugin; when I add the entire Drools
> distribution to the classpath I get a similar dump with loading from
> the complete Drools distribution. I am attaching a text file with
> this information but I am guessing it will get stripped away by the
> server. I very much appreciate your help with this.
>
> I
> ------------------------------------------------------------------------
>
>
>
> On Jan 2, 2008, at 5:04 AM, rules-users-request at lists.jboss.org wrote:
>
>> Message: 8 Date: Wed, 2 Jan 2008 10:00:46 -0200 From: "Edson Tirelli"
>> <tirelli at post.com> Subject: Re: [rules-users] Re: rules-users Digest,
>> Vol 13, Issue 48 To: "Rules Users List" <rules-users at lists.jboss.org>
>> Message-ID:
>> <e6dd5ba30801020400h2f0a16eyec3ba476c1b36f66 at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1" Mike, I don't
>> remember right now the exact flag to dump classpath, but adding
>> "-verbose:class" as a VM parameter on your launch configuration shall
>> do the trick. Just look for "org.objectweb.asm" package's Classes
>> being loaded and you will know where they are being loaded from. You
>> will easily be able to see if there is any other asm library clashing
>> with the mvel required ones. []s Edson 2007/12/31, J Michael Dean
>> <mdean77 at comcast.net>:
>>> Sorry - am using Eclipse in OSX and have no clue how to ask it to
>>> dump its classpath.I can print out the .classpath file but this is
>>> clearly not really relevant. Mike, This looks like a classpath
>>> problem indeed. Did you tried asking the JVM to dump its classpath
>>> so that you can know for sure what jars are included and if any of
>>> them embeds a non-compatible ASM version ? []s Edson
>>> _______________________________________________ rules-users mailing
>>> list rules-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080102/3de471cc/attachment.html
More information about the rules-users
mailing list