should already be done - mvel may be using the wrong one.<br><br>Can you tell me what class it is that gives the nosuchmethod? (ie what the target class is) and we can make sure all references are to inlined one so this won't happen again.
<br><br>Michael.<br><br><div><span class="gmail_quote">On 4/27/07, <b class="gmail_sendername">Mark Proctor</b> <<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</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;">
<div bgcolor="#ffffff" text="#000000">
For M2 I'll look at changing the namespace for <span id="st" name="st" class="st">ASM</span> to avoid this issue.
Not sure how you'll avoid the issue till then.<br>
<br>
Mark<br>
brad hadfield wrote:
<blockquote type="cite"><div><span class="e" id="q_1122f6e4384a91fa_1">
<div><font face="Arial" size="2"><span>Hi,
I wonder if anyone could help me?<br>
<br>
I'm attempting to use the 'from' keyword in the same fashion as the
sample found on the Release Notes/Language Improvement wiki. The
example shows a piece of syntax that uses the 'from' keyword to obtain
data via a Hibernate query. i.e:</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>
$r : Restaurant( $postCode ) from hbSession.getNamedQuery( "some query"
).setProperties( [ key1 : value2, key2 : value ] ).list()<br>
</span></font></div>
<div><font face="Arial" size="2"><span><br>
I'm having difficulty executing syntax using this keyword because
Hibernate uses CGlib which relies on ASM 1.5.3 - the 'from' keyword
seems to rely on MVEL which uses ASM 3.0.</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>ASM
3.0 is not backwards compatible with ASM 1.5.3 and I get 'no such
method' errors.</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>So
how does one get the 'from' keyword to work in an environment running
Hibernate?</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>Thanks,<br>
Brad</span></font></div>
</span></div><pre><hr size="4" width="90%">
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</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>