`
bosschen
  • 浏览: 191908 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

tomcat 启动不了,启动报utf-8问题,conf/server.xml: Invalid byte 1 of 1-byte UTF-8 sequence

 
阅读更多

tomcat 启动不了,启动报utf-8问题,conf/server.xml: Invalid byte 1 1-byte UTF-8 sequence

 

警告: Catalina.start using conf/server.xml:
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.

原因:由于你修改的某个配置文件中出现了中文汉字才导致的。 注释里有中文汉字也出这个问题

去掉conf/server.xml或者其他配置文件中的中文汉字

分享到:
评论

相关推荐

    imx8m meta-freescale/conf/layer.conf not found

    imx8m -b imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml 调用 bitbake -k core-image-minimal指令遇到问题meta-freescale/conf/layer.conf not found

    Maven更新失败,Cannot resolve plugin org.apache.maven.plugins:maven-compiler-plugin:3.1

    在apache-maven-3.5.2/conf/setting.xml中加入以下配置即可解决 alimaven aliyun maven http://maven.aliyun.com/nexus/content/repositories/central/ central junit junit Address/ ...

    Nginx常见错误

    Nginx常见的错误和解决方法,1、Nginx 常见启动错误 有的时候初次安装nginx的时候会报这样的错误 sbin/nginx -c conf/nginx.conf 报错内容:sbin/nginx: error while loading shared libraries: libpcre.so.1: ...

    Codis集群搭建文档

    ./bin/codis-server ./conf/redis6379.conf & ./bin/codis-server ./conf/redis6380.conf & 在管理机上启动: nohup ./bin/codis-dashboard --ncpu=4 --config=./conf/dashboard.conf --log=./logs/dashboard.log --...

    kube-flannel.yml

    apiVersion: extensions/v1beta1 kind: PodSecurityPolicy metadata: name: psp.flannel.unprivileged annotations: seccomp.security.alpha.kubernetes.io/allowedProfileNames: docker/default seccomp....

    cas 配置client 1.0 &2.0 及proxy DEMO 说明

    解压后打开cas-server-3.3.1-release\cas-server-3.3.1\modules ,将cas-server-webapp-3.3.1.war 重命名为cas.war,并将war包拷贝到tomcat5.5以上版本的webapps目录下(在此对server jdbc支持不做详细解读,测试...

    vsftpd-3.0.5-1.el8.x86_64.rpm

    适用于redhat/centos el8.x: 1)如果运行了vsftpd,则先停止: systemctl stop vsftpd 2)安装或升级vsftpd: rpm -Uvh vsftpd-3.0.5-1.el8...4)启动vsftpd: systemctl start vsftpd 5)验证版本信息: vsftpd -v

    Nginx RPM 包定制制作

    /application/nginx-1.6.3/conf/koi-utf /application/nginx-1.6.3/conf/koi-win /application/nginx-1.6.3/conf/mime.types /application/nginx-1.6.3/conf/mime.types.default /application/nginx-1.6.3/conf/...

    gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf

    gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf gcc-linaro-7.5.0-2019.12-win32-manifest compile arm from windows

    centos下hive连接mysql驱动 ,mysql-connector-java-8.0.26-1.el7.noarch.

    centos 下hive连接mysql驱动 ,mysql-connector-java-8.0.26-1.el7.noarch. 使用方法: 1.下载本rpm文件后,上传至你的服务器(虚拟机) 2. rpm -ivh mysql-connector-java-8.0.26-1.el7.noarch进行安装 3.安装完成...

    vsftpd-3.0.3-edit.tar.gz.tar

    (1)错误提示:/bin/sh:./vsf_findlibs.sh: Permission denied 解决措施:chmod 775 ./vsf_findlibs.sh (2)错误提示:/lib/libcap.so.2:could not read symbols: File in wrong format 解决措施:修改vsffindlibs.sh...

    kafka-manager-1.3.3.22.zip

    [root@hadoop102 kafka-manager-1.3.3.22]$ nohup bin/kafka-manager -Dhttp.port=7456 >/opt/module/kafka-manager-1.3.3.22/start.log 2>&1 & 6)在浏览器中打开 备注:指定端口号看启动过程中 "-Dhttp.port=7456...

    mod_encoding-2.2.0-1.i386.tar.gz

    AddClientEncoding "(Microsoft .* DAV $)" UTF-8 GBK GB2312 AddClientEncoding "Microsoft .* DAV" UTF-8 GBK GB2312 AddClientEncoding "Microsoft-WebDAV*" UTF-8 GBK GB2312 </IfModule> 6、#service httpd...

    php-5.6.29.tar.gz

    编译 ./configure --prefix=/usr/local/...-with-pdo-mysql=shared,mysqlnd --with-gd --with-iconv --with-zlib --enable-zip --enable-inline-optimization --disable-debug --disable-rpath --enable-shared --...

    https tomcat server

    注意:apache-tomcat-6.0.30\conf\server <Connector port="8888" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" keystoreFile="F:/working/...

    数字证书生成

    数字证书生成doc命令 1.1生成服务端证书 开始-运行-CMD-在dos窗口执行下执行命令: keytool -genkey -v -alias tomcat -keyalg RSA -keystore C:/self-file/server/... 2.1 配置Tomcat 目录下的/conf/server.xml

    php-7.2.20.tar.gz

    编译 ./configure --prefix=/usr/local/...-with-pdo-mysql=shared,mysqlnd --with-gd --with-iconv --with-zlib --enable-zip --enable-inline-optimization --disable-debug --disable-rpath --enable-shared --...

    基于分布式事务seata+分库分表shardingspherejdbc+nacos+dubbo项目源码.zip

    - 导入配置: `sh ./docker/seata-server/conf/nacos-config.sh ${nacos-address}` - 启动: `sh ./docker/seata-server/bin/seata-server.sh` - mysql - 创建数据库: `db_springcloud` - 创建 undo_log 表: `./...

    tomcat-redis-session-manager-master-2.0.0

    1.添加 redis session 集群依赖的jar包到 tomcat/lib 目录下 tomcat-redis-session-manager-2.0.0.jar jedis-2.5.2.jar commons-pool2-2.2.jar 2.修改 conf 目录下的 context.xml 文件 ...

    openssl-1.1.1a.tar.gz

    # sudo ./config shared //配置;shared 表示生成动态库;生成2个文件:configdata.pm和Makefile # make //编译,会新增11个文件(含2个软链接文件) # make install //安装 # openssl version -a //检查是否可用,但...

Global site tag (gtag.js) - Google Analytics