Showing posts with label Tomcat. Show all posts
Showing posts with label Tomcat. Show all posts

2021-04-19

Warning message, Failed to scan (java.io.FileNotFoundException) from: org.apache.tomcat.util.scan.StandardJarScanner


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.|org.apache.jasper.servlet.TldScanner



Found below config is working:



Reference URL: https://stackoverflow.com/a/50743050


you can add  server.tomcat.additional-tld-skip-patterns=*.jar in application.propertiesfile or  server: tomcat: additional-tld-skip-patterns: '*.jar' in application.ymlfile.

Refer : The Jar Scanner Component、The official reply.









 

2020-04-02

Error in new Eclipse: The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path


Just downloaded: eclipse-jee-2020-03-R-incubation-win32-x86_64.zip


Error in eclipse:
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path


Solved by:
Project Properties > Project Facets > Runtimes(tab) > Select target Tomcat from list (check box).




References:
  1. https://howtodoinjava.com/eclipse/solved-the-superclass-javax-servlet-http-httpservlet-was-not-found-on-the-java-build-path-in-eclipse/









Google Referrals