[Java] [] java.lang.NoClassDefFoundError perfect solution abnormal investigation

First, the cause of the error and positioning

step1: run the code error

 

 step2: sequentially at points above the given position (the class has only one path)

 

 step3: point to the fifth event of the same class compiler two different paths do not know which class so find newspaper " NoClassDefFoundError " wrong

 

 

Second, to solve the problem

Well now we found enough to solve the problem

Investigation code is only a reference to it

 

Guess you like

Origin www.cnblogs.com/danhuai/p/11986272.html