Name of public class must match the name of .java file in which it is placed (like public class Foo{} must be placed in Foo.java file). So either: rename your file from Main.java to WeatherArray.java rename the class from public class WeatherArray { to public...
  • April 3, 2022
  • 0 Comments
You simply need to create an instance of ReportHandler: ReportHandler rh = new ReportHandler(/* constructor args here */); rh.executeBatchInsert(); // Having fixed name to follow conventions The important point...
  • April 3, 2022
  • 0 Comments