Enable TRACE logging for org.jboss.as.jpa so you can tell which persistence provider is used (see doc here). The JPA container deployment subsystem will load the persistence provider that is included in the application and should prefer that over the default Hibernate version. Which version of Hibernate are you trying to include? You can show us the contents of your war (jar tf yourapp.war) if you like.
You will need to add a persistence unit hint (jboss.as.jpa.providerModule=application) as shown in this example, that lets the JPA container know that your application will not use the standard Hibernate jar.
when I add the persistence hint:It fixed my issue thanks