Need Help to figure out the correct dependencies to use Second Level Cachi

Hey I’m trying to learn Hibernate and I’m have been stuck because I can’t figure out what dependencies are correct and because of this I’m getting error.
Please Help me out!! i’ll be really grateful!

I added these given dependencies but then I encountered this error

SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See SLF4J Error Codes for further details.

Exception in thread “main” java.lang.NoSuchFieldError: INSTANCE

I added slf4j dependecy into the pom.xml file

now the error has changed to this

SLF4J: No SLF4J providers were found.

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See SLF4J Error Codes for further details.

Exception in thread “main” java.lang.NoSuchFieldError: INSTANCE

<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-jcache -->
<dependency>
  <groupId>org.hibernate</groupId>
  <artifactId>hibernate-jcache</artifactId>
  <version>6.6.2.Final</version>
  <type>pom</type>
</dependency>

<!-- Ehcache 3 -->
<!-- https://mvnrepository.com/artifact/org.ehcache/ehcache -->
<dependency>
  <groupId>org.hibernate</groupId>
  <artifactId>hibernate-ehcache</artifactId>
  <version>5.6.14.Final</version>
</dependency>

Thank you!!

Please read our getting started guide or Hello Hibernate guide to understand the dependencies that you need.