解決Idea的tomcat啟動報多個listener的錯誤問題
錯誤截圖
找不到出錯的異常位置在哪里。解決辦法:在resources目錄下創(chuàng)建一個logging.properties的文件,然后重啟
handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler ############################################################# Handler specific properties.# Describes specific configuration info for Handlers.############################################################ org.apache.juli.FileHandler.level = FINE org.apache.juli.FileHandler.directory = ${catalina.base}/logs org.apache.juli.FileHandler.prefix = error-debug. java.util.logging.ConsoleHandler.level = FINE java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
這是tomcat的異常排查,可以在控制臺打印出具體的異常,并且可以順利找到位置
到此這篇關(guān)于解決Idea的tomcat啟動報多個listener的錯誤問題的文章就介紹到這了,更多相關(guān)Idea tomcat啟動報錯內(nèi)容請搜索好吧啦網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持好吧啦網(wǎng)!
相關(guān)文章:
