Embedded tomcat giving failed to scan jars from classloader hierarchy
you can add
server.tomcat.additional-tld-skip-patterns=*.jar
in application.properties
file or
server:
tomcat:
additional-tld-skip-patterns: '*.jar'
in application.yml
file.
Refer : The Jar Scanner Component、The official reply.
Do not think xml-apis.jar is a dependency needed by tomcat-embed-core as shown with dependency hierachy.
For your error, make sure scope of xml-apis.jar is not "provided", delete all files under C:/Users/raghavender.n/.m2/repository/xalan/xalan/ and do "mvn clean install" then check if xml-apis.jar is there.
For Spring Web Application with Embeded Tomcat without Spring Boot , you may refer to this post.