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


          主站蜘蛛池模板: 宕昌县| 清水河县| 景洪市| 金华市| 米脂县| 忻城县| 平原县| 凉山| 英超| 闻喜县| 神池县| 榆社县| 高台县| 乳源| 庄浪县| 古丈县| 招远市| 运城市| 八宿县| 全南县| 宽城| 济宁市| 新建县| 白河县| 嘉兴市| 尖扎县| 尉氏县| 安顺市| 南昌县| 县级市| 通辽市| 博罗县| 巨鹿县| 金坛市| 德保县| 安龙县| 金川县| 洱源县| 会东县| 来宾市| 普格县|