Bug 記錄(持續更新。。。)

1. Intellij IDEA 啓動 Timcat 時在控制檯日誌顯式亂碼

解決方法:在 VM Options 裏面添加:-Dfile.encoding=UTF-8。以下圖所示:tomcat

2. Intellij IDEA 啓動 Tomcat 時提示「Application Server was not connected before run configuration stop, reason:Unable to ping server at localhost:1099」

解決方法:修改/etc/hosts文件,添加 127.0.0.1 localhost xxxxxx
其中xxxxxx是本機名, 本機名能夠在命令窗口下使用hostname得到bash

3. MAC 中使用 zsh 時,mvn 命令不生效

解決辦法:在 .zshrc 中添加 source .bash_profile 這一句。intellij-idea

相關文章
相關標籤/搜索