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 王衛華 閱讀(8087) 評論(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  回復  更多評論   


          主站蜘蛛池模板: 常山县| 阳原县| 寿宁县| 门头沟区| 衡南县| 安远县| 永泰县| 夏河县| 余庆县| 安宁市| 馆陶县| 高阳县| 康保县| 循化| 年辖:市辖区| 张家港市| 辉县市| 曲麻莱县| 社旗县| 绍兴县| 陇南市| 通渭县| 尉氏县| 古浪县| 淮北市| 花莲市| 都昌县| 临江市| 靖西县| 庄浪县| 晋州市| 门源| 河北区| 永年县| 贡山| 新民市| 甘泉县| 曲松县| 西安市| 措美县| 岱山县|