At least one JAR was scanned for TLDs yet contained no TLDs

后端 未结 6 1268
情深已故
情深已故 2020-12-08 03:45

I keep getting this on tomcat 7.30 (eclipse juno)

At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 04:21

    For anyone trying to get this working using the Sysdeo Eclipse Tomcat plugin, try the following steps (I used Sysdeo Tomcat Plugin 3.3.0, Eclipse Kepler, and Tomcat 7.0.53 to construct these steps):

    1. Window --> Preferences --> Expand the Tomcat node in the tree --> JVM Settings
    2. Under "Append to JVM Parameters", click the "Add" button.
    3. In the "New Tomcat JVM parameter" popup, enter -Djava.util.logging.config.file="{TOMCAT_HOME}\conf\logging.properties", where {TOMCAT_HOME} is the path to your Tomcat directory (example: C:\Tomcat\apache-tomcat-7.0.53\conf\logging.properties). Click OK.
    4. Under "Append to JVM Parameters", click the "Add" button again.
    5. In the "New Tomcat JVM parameter" popup, enter -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager. Click OK.
    6. Click OK in the Preferences window.
    7. Make the adjustments to the {TOMCAT_HOME}\conf\logging.properties file as specified in the question above.
    8. The next time you start Tomcat in Eclipse, you should see the scanned .jars listed in the Eclipse Console instead of the "Enable debug logging for this logger" message. The information should also be logged in {TOMCAT_HOME}\logs\catalina.yyyy-mm-dd.log.

提交回复
热议问题