https://blog.csdn.net/yhao2014/article/details/45740111

 

使用Tomcat 9时,必须使用jre 1.8,否则会出现Unable to ping server at localhost:1099错误。

使用Intellij搭建Servlet开发环境

 

如果控制台输出乱码,需要修改安装目录中的idea64.exe.vmoptions,添加上-Dfile.encoding=UTF-8,重启Intellij。

还需设置 Run-->Edit Configuration,设置VM options的值为-Dfile.encoding=UTF-8。这样System.out时才不会出现乱码:

使用Intellij搭建Servlet开发环境

 

相关文章:

  • 2021-10-07
  • 2022-12-23
  • 2021-12-08
  • 2021-11-19
  • 2021-07-24
  • 2021-05-04
猜你喜欢
  • 2021-06-21
  • 2021-11-18
  • 2021-08-12
  • 2021-08-13
  • 2022-02-11
  • 2021-11-22
  • 2021-05-22
相关资源
相似解决方案