0
I am 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 gives error
Console log:
INFORMATION: At least one JAR was Scanned for Tlds yet contained no Tlds. Enable debug logging for this logger for a complete list of Jars that Were Scanned but no Tlds Were found in them. Skipping unneeded Jars During Scanning can improve startup time and JSP Compilation time. Feb 16, 2018 11:34:20 AM org.apache.Containerbase startInternal GRAVE: The Child container failed During start java.util.Concurrent.Executionexception: org.apache.Catalina.Lifecycleexception: Failed to initialize Component [org.apache.Catalina.webresources.Jarresourceset@5fd5d6d1] at java.util.Concurrent.FutureTask.report(Unknown Source) at java.util.Concurrent.FutureTask.get(Unknown Source) .....................
Feb 16, 2018 11:34:20 AM org.apache.Coyote.Abstractprotocol pause INFORMATION: Pausing Protocolhandler ["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 INFORMATION: Stopping service [Catalina] Feb 16, 2018 11:34:20 AM org.apache.Coyote.Abstractprotocol Destroy INFORMATION: Destroying Protocolhandler ["http-nio-8080"] Feb 16, 2018 11:34:20 AM org.apache.Coyote.Abstractprotocol Destroy INFORMATION: Destroying Protocolhandler ["ajp-nio-8009"]
tried both ways, but the error persists.
– Erick Ferreira