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  回復  更多評論   


          主站蜘蛛池模板: 哈巴河县| 德格县| 城固县| 溆浦县| 确山县| 桦甸市| 斗六市| 博客| 杂多县| 巴彦淖尔市| 滕州市| 淮北市| 鄂托克前旗| 文登市| 旌德县| 舒城县| 偏关县| 尼勒克县| 团风县| 卓资县| 襄樊市| 军事| 峨眉山市| 吕梁市| 县级市| 上杭县| 香港 | 富民县| 克拉玛依市| 乳山市| 吐鲁番市| 巨野县| 永清县| 大方县| 花莲县| 泾源县| 神木县| 萨迦县| 新竹市| 古交市| 两当县|