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

Chris Richmond crichmond at referentia.com
Mon Jun 22 17:47:11 EDT 2009


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.Strin
g, 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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090622/a96928d8/attachment.html 


More information about the rules-users mailing list