<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
are you using maven 2.0.8 ?<br>
<br>
Mark<br>
jack wu wrote:
<blockquote cite="mid:536859.27893.qm@web82005.mail.mud.yahoo.com"
type="cite">tested again with 1.5.0_03. failed. <br>
D:\download\drools4x\4.0.x>java -version<br>
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
<p> </p>
<hr size="1">Looking for last minute shopping deals? <a
moz-do-not-send="true"
href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a>
<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>