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)華 閱讀(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  回復(fù)  更多評論   


          主站蜘蛛池模板: 曲麻莱县| 临沭县| 行唐县| 襄樊市| 齐河县| 察雅县| 宁安市| 习水县| 台湾省| 繁峙县| 青岛市| 浦城县| 肥东县| 嵊州市| 句容市| 襄城县| 云和县| 探索| 安龙县| 新余市| 温泉县| 漯河市| 喀喇| 徐闻县| 固阳县| 潼南县| 滦平县| 新龙县| 博客| 怀集县| 海淀区| 依安县| 涟源市| 甘肃省| SHOW| 喀喇| 镶黄旗| 包头市| 托里县| 台北市| 新龙县|