I took Manohar’s advice and decompiled the Log.class file from wmSamples. I then stripped the import statements from it and wrote it to the shared tab of my own util folder. The java statement util.Log.log(“Some text…”); works fine when I call it from a test service in another folder. When I use the same statement in another service in the util folder, though, I get the error message:
/sapbc46/Server/packages/ZTest/code/source/DEVCLNT400/util.java:378: Can’t make a static reference to inner class DEVCLNT400.util. Log.
util.Log.log(“Aborting process”);
^
I also tried taking out the “util.” and using Log.log(“Aborting process”); to no avail. What do I have to do to make this work?
– Mike