Reports JUnit 4.0 @BeforeClass or @AfterClass method is not declared public static, does not return void, or takes arguments. Such methods are easy to create inadvertently, and will not be executed by JUnit tests runners.