<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged clara rules</title>
<link>https://ask.clojure.org/index.php/tag/clara+rules</link>
<description></description>
<item>
<title>Unable to run Clara Rules from Java</title>
<link>https://ask.clojure.org/index.php/10662/unable-to-run-clara-rules-from-java</link>
<description>&lt;p&gt;Im beginning to learn Clara Rules and wanted to execute them from Java. I'm getting an error when trying to run the code. &lt;code&gt;ExceptionInInitializerError: Syntax error compiling at (example/shopping.clj:2:3). clara.rules.accumulators&lt;/code&gt;. I'm attaching the project source for your reference. Could you please help. Please install Maven. Go to your project root directory and to compile the project execute &lt;code&gt;mvn -q compile&lt;/code&gt; To run the code &lt;code&gt;mvn -q exec:java -Dexec.mainClass=example.ClaraExampleMain&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://drive.google.com/drive/folders/1axsfs9mP1Uv2Q3qyZPHWMeZdJdmRwox5?usp=sharing&quot;&gt;SourceCode to the project&lt;/a&gt;&lt;/p&gt;
</description>
<category>Java Interop</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10662/unable-to-run-clara-rules-from-java</guid>
<pubDate>Sat, 29 May 2021 12:17:53 +0000</pubDate>
</item>
</channel>
</rss>