开发者社区> 问答> 正文

dubbo-admin部署在tomcat后浏览器报错?报错

我用的虚拟机安装的ubuntu系统,在ubuntu系统中把dubbo-admin部署到tomcat后,用zookeeper管理,结果访问tomcat首页一片空白,f12控制台有错误信息:The character encoding of the plain text document was not declared. The localhost:8080 document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature. 未添加dubbo之前tomcat启动、访问无任何问题!!!调了好久,也换了jdk版本,就是没解决,挺着急的!!!


展开
收起
爱吃鱼的程序员 2020-06-10 11:12:56 675 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    假设tomcat端口为8080

    cd/tmp;wgethttp://localhost:8080/

    谢谢,已解决,我按博客上写的,访问的是localhost:8080,结果出这个错,后来访问:8080/index.html就成功了更改tomcat端口试试谢谢啦,已经解决了
    2020-06-10 11:13:15
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Dubbo开源现状与2.7规划 立即下载
Dubbo分布式服务治理实战 立即下载
《Dubbo 3.0 前瞻》 立即下载