java – Glassfish : Class name is wrong or classpath is not set for : com.mysql.cj.jdbc.Driver Please check the server.log for more details

I build JAVA EE project and choose glassfish as a server and mysql as a database,
when i trying integrate mysql database in glassfish server, there are some errors :
I fill properties database like name , server , PortNumber .. etc.
when I test connection by press on ping button , this message displayed

An error has occurred Ping Connection Pool failed for DemoDatabase.
Class name is wrong or classpath is not set for : com.mysql.cj.jdbc.Driver 
Please check the server.log for more details. An error has occurred    
Ping Connection Pool failed for DemoDatabase.
 Class name is wrong or classpath is not set for : com.mysql.cj.jdbc.Driver Please check the server.log for more details.

this message in Server.log

Cannot find poolName in ping-connection-pool command model, file a bugninjection failed on org.glassfish.connectors.admin.cli.PingConnectionPool.poolName with class java.lang.String