Darryl Burke wrote:The console screenshot pertains to not being able to locate the class TimeServerPublisher.
Hendra, the class name you've given to the JVM is TimeServerPublisher.class. That's not a class name though, that's a file name. To run a class the full class name should be given, for the test code that's com.testing.main.Main
Others have already pointed this out -- but I thought this should be mentioned.
This error isn't saying that it can't find main(). This error is saying that the main thread can't find the class at all. The "main" mentioned here is not referring to the main method.
Henry
Post by:autobot
I don't always make ads but when I do they're tiny
a bit of art, as a gift, that will fit in a stocking