[rules-users] unable to resolve method using strict-mode

Edson Tirelli tirelli at post.com
Tue Jun 23 08:07:28 EDT 2009


    What versions of Drools and MVEL are you using?

   []s
   Edson

2009/6/22 Chris Richmond <crichmond at referentia.com>

>  I cannot seem to call a static method on one of my classes and keep
> getting this error:
>
>
>
> [Error: Failed to compile: 1 compilation error(s):
>
>  - (1,44) unable to resolve method using strict-mode:
> com.aps.syslog.logging.manager.LoggingManager.runLoggingTest(java.lang.String,
> com.aps.syslog.logging.Transaction)]
>
> [Near : {... Unknown ....}]
>
>
>
>
>
> When I call the static method:
>
>
>
> LoggingManager.runLoggingTest ("23223", transaction);
>
>
>
> Where the first argument can be any string and the second is a custom class
> that I isntatiated earlier in the RHS with no problems.
>
>
>
>
>
> Is the problem strict-mode? Or something else?
> LogginManager.runLoggingTest  is a static method but do I perhaps have to do
> something like:
>
>
>
>
>
> $lm : LoggingManager()
>
>
>
> Then call the static method using:
>
>
>
> $lm.runLoggingTest ("23223", transaction);
>
>
>
>
> Or something along these lines (I did try this but it failed as well).
>
>
>
>
>
> Thanks,
>
>
>
> Chris
>
>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
 Edson Tirelli
 JBoss Drools Core Development
 JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090623/f5d845d9/attachment.html 


More information about the rules-users mailing list