Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment

線上和測試環境沒有問題,開發環境報錯,之前沒有了解過,以爲是jar包有問題,但是jar是有的,度娘了一下,才明白。自己也記錄下,另要加註意點: 1、我把linux服務器的catalina.sh拖到本地編輯,在拖回去,啓動報Cannot find ./catalina.sh——權限不足,更改權限解決. 2、更改權限後包bad interpreter: No such file or director
相關文章
相關標籤/搜索