原文:Can't connect to X11 window server using 'localhost:10.0' as the value of th

tomcat工程中創建二維碼失敗。拋出異常Can t connect to X window server using localhost: . as the value of th 因為在linux系統中,創建圖形畫布失敗。linux系統圖形控件未啟動導致的。 解決方法: java啟動參數中添加 Djava.awt.headless true 編輯tomcat目錄下的bin catalina.s ...

2017-07-17 14:16 0 5047 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM