I'm inserting two hibernate dependencies into my pom.xml
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.12.Final</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-entitymanager -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.2.12.Final</version>
</dependency>
When I start the Tomcat server it gives error
Logintotheconsole:
INFORMATION:AtleastoneJARwasscannedforTLDsyetcontained intheTLDs.Enabledebugloggingforthisloggerforacompletelistof JARsthatwerescannedbutnoTLDswerefoundinthem.Skipping unneededJARsduringscanningcanimprovestartuptimeandJSP compilationtime.Feb16,201811:34:20AM org.apache.catalina.core.ContainerBasestartInternalGRAVE:Achild containerfailedduringstartjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException:Failedtoinitializecomponent [org.apache.catalina.webresources.JarResourceSet@5fd5d6d1]at java.util.concurrent.FutureTask.report(UnknownSource)at java.util.concurrent.FutureTask.get(UnknownSource) .....................
Feb16,201811:34:20AMorg.apache.coyote.AbstractProtocolpause INFORMATION:PausingProtocolHandler["http-nio-8080"] Feb 16, 2018 11:34:20 AM org.apache.coyote.AbstractProtocol pause INFORMATION: Pausing ProtocolHandler ["ajp-nio-8009"] Feb 16, 2018 11:34:20 AM org.apache.catalina.core.StandardService stopInternal INFO: Stopping service [Catalina] Feb 16, 2018 11:34:20 AM org.apache.coyote.AbstractProtocol destroy INFO: Destroying ProtocolHandler ["http-nio-8080"] Feb 16, 2018 11:34:20 AM org.apache.coyote.AbstractProtocol destroy INFO: Destroying ProtocolHandler ["ajp-nio-8009"]