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