[JUnit error] method initializationerror not found: JUnit4 unit test error

 

1. Not only methods must be public, but classes must also have public permissions

 

 

 

2. Modify the Java file character set

Not completed, decided to modify the default character set of eclipse to gdk, and then modify it to utf-8 when it needs to be used

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326567868&siteId=291194637