<br> This is strange because our CI server (hudson) is green on all tests, as well as my local build here... <br> The error:<br><br>org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'<br>
<br> is usually associated with a wrong JDT version being used in the classpath... although, if you are using maven to build, that should never happen...<br> May I suggest you remove your local maven repo for the eclipse dependency $HOME/.m2/repository/org/eclipse/jdt/core and try again?<br>
<br> []s<br> Edson<br><br><div><span class="gmail_quote">2008/3/18, jack wu <<a href="mailto:jackxwu@yahoo.com">jackxwu@yahoo.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
tested again with 1.5.0_03. failed. <br><span class="q">D:\download\drools4x\4.0.x>java -version<br></span>java version "1.5.0_03"<br>Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)<br>Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode)<br>
<br>Running org.drools.integrationtests.DynamicRulesTest<br>org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.Java<br>DialectConfiguration:java'<br> at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.ja<br>
va:160)<br> at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuild<br>erConfiguration.java:146)<br> at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:121<br>
)<br> at
org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:9<br>8)<br> at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:124)<br> at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:86)<br>
at org.drools.integrationtests.DynamicRulesTest.testDynamicRulesAddRemove(DynamicRulesTest.j<br>ava:540)<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 junit.framework.TestCase.runTest(TestCase.java:154)<br> at junit.framework.TestCase.runBare(TestCase.java:127)<br> at junit.framework.TestResult$1.protect(TestResult.java:106)<br>
at junit.framework.TestResult.runProtected(TestResult.java:124)<br> at junit.framework.TestResult.run(TestResult.java:109)<br> at junit.framework.TestCase.run(TestCase.java:118)<br> at junit.framework.TestSuite.runTest(TestSuite.java:208)<br>
at junit.framework.TestSuite.run(TestSuite.java:203)<br> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown
Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at java.lang.reflect.Method.invoke(Method.java:585)<br> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)<br>
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirecto<br>ryTestSuite.java:140)<br> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestS<br>
uite.java:127)<br> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)<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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:33<br>8)<br> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)<br>Caused by: java.lang.ClassCastException: org.drools.rule.builder.dialect.java.JavaDialectConfigurati<br>
on<br> at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.ja<br>va:155)<br> ... 31 more<br>org.drools.RuntimeDroolsException: Unable to load dialect
'org.drools.rule.builder.dialect.java.Java<br>DialectConfiguration:java'<br> at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.ja<br>va:160)<br> at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuild<br>
erConfiguration.java:146)<br> at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:121<br>)<br> at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:9<br>
8)<br> at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:124)<br> at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:86)<br> at
org.drools.integrationtests.DynamicRulesTest.testRuleBaseAddRemoveSubNetworks(DynamicRule<br>sTest.java:768)<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 junit.framework.TestCase.runTest(TestCase.java:154)<br>
at junit.framework.TestCase.runBare(TestCase.java:127)<br> at junit.framework.TestResult$1.protect(TestResult.java:106)<br> at
junit.framework.TestResult.runProtected(TestResult.java:124)<br> at junit.framework.TestResult.run(TestResult.java:109)<br> at junit.framework.TestCase.run(TestCase.java:118)<br> at junit.framework.TestSuite.runTest(TestSuite.java:208)<br>
at junit.framework.TestSuite.run(TestSuite.java:203)<br> at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:585)<br> at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)<br> at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirecto<br>ryTestSuite.java:140)<br> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestS<br>
uite.java:127)<br> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)<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>Tests run: 16, Failures: 2, Errors: 7, Skipped: 0, Time elapsed: 1.344 sec <<< FAILURE!<br>Running org.drools.brms.modeldriven.ActionFieldValueTest<br>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0
sec<br> at java.lang.reflect.Method.invoke(Method.java:585)<br> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:33<br>8)<br> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)<br>
Caused by: java.lang.ClassCastException: org.drools.rule.builder.dialect.java.JavaDialectConfigurati<br>on<br> at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.ja<br>va:155)<br>
... 31 more<br>Running org.drools.brms.server.util.SuggestionCompletionEngineBuilderTest<div><span class="e" id="q_118c306f85af488b_3"><p>
</p><hr size="1">Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Find them fast with Yahoo! Search.</a><p></p></span></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>