JobClass=Class. Class.forname (" com. Package. Test ");
Logger. The info (" end ");
Every time log to begin to a stop, the possible reasons, thank you, (JDK1.8, Linux, here to simplify the code)
Don't throw exceptions
CodePudding user response:
Simplify your code is too simplifiedDo you have any special class of code? Staic piece of code, for example, the load will be invoked, and the static block in the code for any deadlocks, causes the class loader thread stopped
CodePudding user response:
Screen under the load of com. Package. The Test this class for any SAO operationCodePudding user response:
Should be Class. Class.forname () function throw exceptions, and didn't catch exceptions, so what all can't seeCodePudding user response:
You're jobClass=Class. Class.forname (" com. Package. Test "); Add a try catch catch exceptions underCodePudding user response: