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


          主站蜘蛛池模板: 静宁县| 区。| 油尖旺区| 呈贡县| 包头市| 呼图壁县| 静海县| 大丰市| 泽州县| 平定县| 静宁县| 咸阳市| 抚州市| 兴山县| 台中县| 永平县| 铜山县| 科尔| 罗源县| 邹平县| 石林| 密山市| 鄱阳县| 买车| 卢湾区| 噶尔县| 双江| 多伦县| 汝阳县| 广元市| 南投县| 东乡族自治县| 青龙| 天峻县| 泾阳县| 南漳县| 松滋市| 邹平县| 陈巴尔虎旗| 固阳县| 凭祥市|