super

          java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable

          jasper安裝在windows環(huán)境運行正常,但是在linux環(huán)境中出現(xiàn)錯誤:java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
          解決方式:
          在JVM中加入-Djava.awt.headless=true
          對于tomcat ,可以修改catalina.sh,加入:CATALINA_OPTS="$CATALINA_OPTS -Djava.awt.headless=true "

          posted on 2006-01-05 09:28 王衛(wèi)華 閱讀(8092) 評論(1)  編輯  收藏 所屬分類: jasperReport

          Feedback

          # re: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable 2008-03-26 13:48 jst2548

          Can't connect to X11 window server using  回復  更多評論   


          主站蜘蛛池模板: 嵊泗县| 吴堡县| 上林县| 大兴区| 阿合奇县| 钟祥市| 隆林| 菏泽市| 嘉义县| 安达市| 南宁市| 东光县| 阜新市| 廉江市| 玉田县| 连南| 塔城市| 新巴尔虎左旗| 彭山县| 贞丰县| 南召县| 遵义县| 云霄县| 宝山区| 顺平县| 江华| 神农架林区| 扬中市| 蒙自县| 新安县| 黄山市| 西乡县| 杭锦后旗| 喀喇沁旗| 应城市| 蓬溪县| 峨眉山市| 科技| 海城市| 绥中县| 讷河市|