How to correct this error? This is preventing you from connecting to the bank ....
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// Eventoos do Botao inserir
try {
//Registra JDBC driver
Class.forName("com.mysql.jdbc.Driver");
//Abrindo a conexão: ATENÇÃO OS DOIS PARÂMETROS VAZIOS("") SÃO USUÁRIO E SENHA, RESPECTIVAMENTE.
Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/escola?zeroDateTimeBehavior=convertToNull", "", "");
//Executa a query de inserção
java.sql.Statement st = conn.createStatement();
st.executeUpdate("INSERT INTO aluno (id,nome,cpf) VALUES ("
+ this.jTextFieldId.getText() + ",'"
+ this.jTextFieldNome.getText() + "','"
+ this.jTextFieldCPF.getText() + "')");
JOptionPane.showMessageDialog(rootPane, "Aluno inserido");
} catch (SQLException | ClassNotFoundException e) {
JOptionPane.showMessageDialog(rootPane, e);
}//Fim try
}