<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Ed,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for the feedback.&nbsp; That&#8217;s
pretty much the conclusion I have come to&#8230;.I will double &nbsp;check the
higher priority reference, that sounds possible because we are using Ivy for
dependencies with many package dependencies..<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks very much for the insights&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Chris<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=3 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Edson Tirelli<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, June 02, 2009 9:42
AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Rules
 Users List</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [rules-users] The
Eclipse JDT Core jar is not in the classpath error</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
&nbsp;&nbsp; Chris,<br>
<br>
&nbsp;&nbsp; There must be a problem with the classpath. That message only
shows up when the antlr-runtime jar is not in the classpath.<br>
<br>
java.lang.<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream<br>
<br>
&nbsp;&nbsp;&nbsp; Also, I successfully run examples from command line, outside
of eclipse, so it is unlikely that you are being hit by some hidden dependency.<br>
<br>
&nbsp;&nbsp;&nbsp; Sorry for not helping you more, but continue investigating
your netbeans project classpath for &quot;odd&quot; things.<br>
<br>
&nbsp;&nbsp;&nbsp; Oh, and BTW, antlr runtimes are not compatible between
versions, so, if your netbeans has a different antlr runtime jar in the
classpath in a higher priority search order, it will give you similar problems.<br>
<br>
&nbsp;&nbsp;&nbsp; []s<br>
&nbsp;&nbsp;&nbsp; Edson<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2009/6/2 Chris Richmond &lt;<a href="mailto:crichmond@referentia.com">crichmond@referentia.com</a>&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Marcus,<br>
<br>
I only have the one version of antlr jar that comes in the /lib folder of<br>
the drools 5.0 binary distribution, however that was enough to allow me to<br>
run the stockticker fusion sample in eclipse no problem. &nbsp;I ported the<br>
project to Netbeans and am relying on all of the same jars from that binary<br>
distribution, but getting this error now. &nbsp; Perhaps there is something
that<br>
is being provided by the eclipse drools plugin?<br>
<br>
Thanks,<br>
<font color="#888888"><span style='color:#888888'>Chris</span></font><o:p></o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
-----Original Message-----<br>
From: <a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a><br>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>]
On Behalf Of Marcus Ilgner<br>
Sent: Monday, June 01, 2009 11:14 PM<br>
To: <st1:PersonName w:st="on">Rules Users List</st1:PersonName><br>
Subject: Re: [rules-users] The Eclipse JDT Core jar is not in the classpath<br>
error<br>
<br>
2009/6/2 Chris Richmond &lt;<a href="mailto:crichmond@referentia.com">crichmond@referentia.com</a>&gt;:<br>
&gt; Hello,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I am using netbeans and ivy with Drools 5.&nbsp; I have successfully
named,<br>
&gt; published the jars from drools to and could build my port of the stock<br>
&gt; ticker application in netbeans, but when I try to run it, I get the<br>
&gt; following error:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I have the antlr-runtime jar from the bin/lib on my classpath where I<br>
added<br>
&gt; all the others, but it always fails at this line<br>
&gt;<br>
&gt; In loadRuleBase() in Broker.java of the stock ticker sample<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; builder.add( ResourceFactory.newInputStreamResource(<br>
&gt; Broker.class.getResourceAsStream( RULES_FILE ) ),<br>
&gt;<br>
&gt; ResourceType.DRL);.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Does anyone have any ideas what jar I might be missing if it&#8217;s not
the<br>
&gt; antlr-runtime?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Chris<br>
&gt;<br>
<br>
Hi,<br>
<br>
in one of my projects, I actually needed two different versions of<br>
antlr in the classpath. Did you check if the class referenced in the<br>
exception actually exists in the deployed antlr jar file?<br>
<br>
Best regards<br>
Marcus<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><o:p></o:p></span></font></p>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
&nbsp;Edson Tirelli<br>
&nbsp;JBoss Drools Core Development<br>
&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><o:p></o:p></span></font></p>

</div>

</body>

</html>