super

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

          jasper安裝在windows環境運行正常,但是在linux環境中出現錯誤: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 王衛華 閱讀(8086) 評論(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  回復  更多評論   


          主站蜘蛛池模板: 丹寨县| 吴忠市| 麻栗坡县| 南皮县| 望谟县| 邯郸市| 方正县| 清镇市| 梅州市| 浠水县| 邻水| 台中县| 三穗县| 崇左市| 太湖县| 绥滨县| 凤山市| 都兰县| 富民县| 崇文区| 浪卡子县| 宁化县| 堆龙德庆县| 略阳县| 绥芬河市| 礼泉县| 广西| 上蔡县| 郁南县| 印江| 皋兰县| 伊宁市| 怀柔区| 格尔木市| 哈密市| 萨嘎县| 常山县| 金溪县| 长海县| 图片| 宁南县|