<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes it's a dependency of drools-compiler, I don't know why maven isn't
working for you. <br>
<br>
Mark<br>
Eric Miles wrote:
<blockquote cite="mid:1185480383.3370.28.camel@emilesd610.kronos.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="GENERATOR" content="GtkHTML/3.14.3">
So is this not a dependency of 4.0.0 or do I have to include a
dependency manually?  Maven should take care of classpath issues for
me, that's why I found this issue to be odd.<br>
  <br>
On Thu, 2007-07-26 at 20:48 +0100, Mark Proctor wrote:<br>
  <blockquote type="CITE"> As the stack trace says, you are missing the
JDT Core binary:<br>
Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not
in the classpath<br>
    <br>
Mark<br>
Eric Miles wrote: <br>
    <blockquote type="CITE"> I am attempting to ween our project off of
MR3 and on to the 4.0.0 GA and am having a lot of difficulty.  First
off, I had compile issues with the PackageBuilderConfiguration class
(attempting to set the compliance level to 1.5).  I figured that was no
longer necessary so I removed that (I hope that's correct although I
haven't seen this mentioned anywhere).  Now when I attempt to run a
unit test, I get the following error:<br>
      <br>
org.drools.RuntimeDroolsException: Unable to load dialect
'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'<br>
at
org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(PackageBuilderConfiguration.java:138)<br>
at
org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:114)<br>
at
org.drools.compiler.PackageBuilderConfiguration.&lt;init&gt;(PackageBuilderConfiguration.java:87)<br>
at
com.kronos.webta.service.key.rules.AccountKeyLookupTest.setUpBeforeClass(AccountKeyLookupTest.java:49)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:585)<br>
at
org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)<br>
at
org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)<br>
at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)<br>
at
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)<br>
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)<br>
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)<br>
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)<br>
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)<br>
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)<br>
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)<br>
Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not
in the classpath<br>
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(JavaDialectConfiguration.java:98)<br>
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:56)<br>
at
org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(PackageBuilderConfiguration.java:134)<br>
... 17 more<br>
      <br>
      <br>
I am using Maven2, so I would assume my dependencies would be taken
care of?  I'm only using 2 dependencies in my project for Drools:<br>
      <br>
&lt;dependency&gt;<br>
&lt;groupId&gt;org.drools&lt;/groupId&gt;<br>
&lt;artifactId&gt;drools-compiler&lt;/artifactId&gt;<br>
&lt;version&gt;4.0.0&lt;/version&gt;<br>
&lt;scope&gt;compile&lt;/scope&gt;<br>
&lt;/dependency&gt;<br>
&lt;dependency&gt;<br>
&lt;groupId&gt;org.drools&lt;/groupId&gt;<br>
&lt;artifactId&gt;drools-core&lt;/artifactId&gt;<br>
&lt;version&gt;4.0.0&lt;/version&gt;<br>
&lt;scope&gt;compile&lt;/scope&gt;<br>
&lt;/dependency&gt;<br>
      <br>
&gt;From the following repo:<br>
      <br>
&lt;repository&gt;<br>
&lt;id&gt;jboss&lt;/id&gt;<br>
&lt;name&gt;JBoss maven repository&lt;/name&gt;<br>
&lt;url&gt;<a moz-do-not-send="true"
 href="http://repository.jboss.com/maven2%3C">http://repository.jboss.com/maven2&lt;</a>/url&gt;<br>
&lt;/repository&gt;<br>
      <br>
Am I missing something?  I completely blew away my org.drools directory
in my local repository to allow maven2 to download the dependencies, I
see it's downloading the drools-compiler and drools-core 4.0.0 versions
(although they do not have associated poms or checksums which I find
odd).  Thanks!<br>
      <br>
Eric
      <pre>
<hr size="4">


_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  
      </pre>
    </blockquote>
    <br>
  </blockquote>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>