Kris,<br><br>I set the compiler compliance to 5.0, but the generated classes to 1.4. The only catch is that I also have to set the Source compatibility to 1.4 as well. Hence the error still occurs.<br><br>Ron<br><br><div>
<span class="gmail_quote">On 7/16/07, <b class="gmail_sendername">Kris Verlaenen</b> <<a href="mailto:Kris.Verlaenen@cs.kuleuven.be">Kris.Verlaenen@cs.kuleuven.be</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ronald,<br><br>Could you try not setting the compiler compliance level of your<br>eclipse project to 1.4 but leaving that to 5.0 and only setting the<br>source compatibility level and the generated .class files<br>compatibility to
1.4? The plugin needs a 5.0 compliant parser, but it<br>can generate 1.4 compliant class files. The errors in the rules<br>should then disappear.<br><br>Kris<br><br>Citeren "Ronald R. DiFrango" <<a href="mailto:ron.difrango@gmail.com">
ron.difrango@gmail.com</a>>:<br><br>> All,<br>><br>> I had to change the compiler setting from JDK 5.0 to JDK 1.4 and no<br>> all of a<br>> sudden my DRL files give me the following error:<br>><br>> Severity and Description Path Resource Location Creation
<br>> Time<br>> Id<br>> Syntax error, static imports are only available if source level is<br>> 5.0<br>> RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules<br>> modelDiscrepancyRules.drl line 20 1184006663382 77860
<br>><br>> On all rules.<br>><br>> Thoughts?<br>><br>> Ron<br>><br><br><br><br></blockquote></div><br>