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)境運(yùn)行正常,但是在linux環(huán)境中出現(xiàn)錯(cuò)誤: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
          對(duì)于tomcat ,可以修改catalina.sh,加入:CATALINA_OPTS="$CATALINA_OPTS -Djava.awt.headless=true "

          posted on 2006-01-05 09:28 王衛(wèi)華 閱讀(8092) 評(píng)論(1)  編輯  收藏 所屬分類(lèi): 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  回復(fù)  更多評(píng)論   


          主站蜘蛛池模板: 清苑县| 竹北市| 江口县| 和平区| 隆子县| 四会市| 贵阳市| 东城区| 辉县市| 汾阳市| 舒兰市| 农安县| 南汇区| 湖口县| 乳源| 曲麻莱县| 平阴县| 桓台县| 南汇区| 盘锦市| 镇江市| 曲麻莱县| 扎鲁特旗| 榆中县| 平凉市| 平原县| 邻水| 嘉义市| 扶绥县| 乌兰察布市| 隆昌县| 镇赉县| 巴塘县| 乃东县| 新晃| 谢通门县| 南江县| 南皮县| 苍南县| 永兴县| 南昌县|