Galera boa noite estou tendo fazer conexao com banco e fica dando error esta dizendo que é o problema no driver

package Connection;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
*

  • @author felip
    */
    public class Conexao {
    public static Connection getConexao(){
    try {
    Connection connection = DriverManager.getConnection(“jdbc:mysql://localhost:3306/sistemapessoa”, “root”, “”);
    System.err.println(“Conectado com sucesso!”);
    return connection;
    } catch (SQLException ex) {
    System.err.println(“Error ao se conectar ao banco de dados!”+ex);

     }
     
     return null;
    

    }

    public static void main(String[] args) {
    Conexao.getConexao();
    }
    }

Exception in thread “AWT-EventQueue-0” java.lang.RuntimeException: Problema no momento de carregar o driver do banco
at Connection.connectionfactory.getConnection(connectionfactory.java:29)
at Dao.Pessoadao.read(Pessoadao.java:60)
at Formulario.Pessoa.readTabela(Pessoa.java:38)
at Formulario.Pessoa.(Pessoa.java:29)
at Formulario.Pessoa$3.run(Pessoa.java:214)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: driver
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at Connection.connectionfactory.getConnection(connectionfactory.java:24)
… 18 more

Quala versão do seu banco de dados?
Observe que o MySQL na versão 8 em diante a Classe do JDBC é:
Class.forName("com.mysql.cj.jdbc.Driver");
E, o driver JDBC correspondente à versão do seu BD deve constar nas bibliotecas do seu projeto.

Olá Trapezus a versão do meu sql server é 8.0 mysql work bank

O Driver foi importado no seu projeto?