• Tomcat启动乱码


    Tomcat启动乱码

    旂敤绋嬪簭閮ㄧ讲鍒扮洰褰?[C:UsersAdministratorDesktopServletapache-tomcat-8.5.50-windows-x64apache-tomcat-8.5.50webappsexamples]
    28-Feb-2020 22:57:20.486 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:UsersAdministratorDesktopServletapache-tomcat-8.5.50-windows-x64apache-tomcat-8.5.50webappsexamples] has finished in [2,594] ms
    28-Feb-2020 22:57:20.486 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 鎶妛eb 搴旂敤绋嬪簭閮ㄧ讲鍒扮洰褰?[C:UsersAdministratorDesktopServletapache-tomcat-8.5.50-windows-x64apache-tomcat-8.5.50webappshost-manager]
    28-Feb-2020 22:57:20.580 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:UsersAdministratorDesktopServletapache-tomcat-8.5.50-windows-x64apache-tomcat-8.5.50webappshost-manager] has finished in [94] ms
    28-Feb-2020 22:57:20.580 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 鎶妛eb 搴旂敤绋嬪簭閮ㄧ讲鍒扮洰褰?[C:UsersAdministratorDesktopServletapache-tomcat-8.5.50-windows-x64apache-tomcat-8.5.50webappsmanager]
    处理方式:
    打开tomcat目录下conf子目录,找到logging.properties
    修改logging.properties中的参数
    
    java.util.logging.ConsoleHandler.encoding = GBK
    
    重启就解决了
    28-Feb-2020 23:19:24.048 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本:               10.0
    28-Feb-2020 23:19:24.048 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构:                  amd64
    28-Feb-2020 23:19:24.048 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量:         C:JDKjdk1.8.0_77jre
    28-Feb-2020 23:19:24.048 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM 版本:              1.8.0_77-b03
    28-Feb-2020 23:19:24.048 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商:            Oracle Corporation

    好了!

  • 相关阅读:
    Oracle Convert DateTime to String
    Javascript Regular Expression 日期
    AIX disk usage command
    Truncate a number to a certain number of decimal places
    Start Oracle Sqlplus with Login Information Script
    10)drf 过滤器(条件查询 排序 ) 分页器
    10.windows权限维持
    11.msf和cs补充
    12.linux提权
    4.内网信息收集(补充)
  • 原文地址:https://www.cnblogs.com/qqfff/p/12381040.html
Copyright © 2020-2023  润新知