第一次 error信息
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
第二次以后
java.lang.NoClassDefFoundError
在google上搜索关键字Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable
原因
没安装x-window
顺便, 即使安装了x-window,也可能出现这种问题
未经验证的解决方法是
$ export DISPLAY=127.0.0.1:0.0
$ xhost +
对策
修正内容,增加以下变量
JAVA_OPTS=-Djava.awt.headless=true
或者 CATALINA_OPTS='-Djava.awt.headless=true'
修正方法
用export或者etc/profile增加环境变量
或者修改tomcat_home/bin下边的startup.sh或者catalina.sh
JAVA_OPTS=-Djava.awt.headless=true
echo "Using CATALINA_BASE: $CATALINA_BASE"
echo "Using CATALINA_HOME: $CATALINA_HOME"
echo "Using CATALINA_TMPDIR: $CATALINA_TMPDIR"
echo "Using RUNJAVA: $_RUNJAVA"
echo "Using JAVA_OPTS: $JAVA_OPTS"
分享到:
相关推荐
Xilinx Vitis运行报错 2022.2 Vitis: ERROR : Can't read "map": no such variable when trying to launch application on my target
ls -lt 是“-l”和“-t”的组合,按时间顺序显示列表。 ls -F 显示文件类型,目录“/ ”结尾;可执行文件“*”结尾;文本文件(none),没有结尾。 ls -R 递归显示目录结构。即该目录下的文件和各个副目录下的文件...
for face detection still can’t meet the demand for effectively and efficiently handling faces with large appearance vari- ance in the wild. To solve this bottleneck, we borrow the concept of channel ...
What’s more, considering the urgency of the situation, a trade-off between precision and program complexity (including the number of input vari- ables) should be made to find an optimal way as ...
5.4 PICKLE: STORING AND RETRIEVING THE CONTENTS OF VARI- ABLES 94 5.5 JSON FILES 96 5.6 FILE HANDLING: OS, OS.PATH, SHUTIL, AND PATH.PY MODULE 98 5.6.1 path.py Module 100 5.6.2 Consolidate Multiple ...
Expelled to a friendlier place: A study of effective alternative schools. Ann Arbor: University of Michigan Press, 174 pp., [dollar]12.95 Book Reviews 105 excellent job of providing a basic ...
Expelled to a friendlier place: A study of eflective alternative schools. Ann Arbor: University of Michigan Press, 174 pp., [dollar]12.95 105 Book Reviews excellent job of providing a basic ...
The main results of the paper concern the enhanced tensor product model transformation-based variable universe of discourse controller (EHTPVUD) design, which uses Hammersley sampling method to ...
dataset with long videos, a large number of highly vari- able actions, children that are only partially visible, have different ages and may show unpredictable behaviour, as well as non-standard ...
The camera, either fixed-focus or vari-focal, is selected based on the specific requirements of the application. The video processor, PE5139, is a high-performance device that can process 16 video ...
XML files (that contain schedules of conferences/festivals/other events) and lets you browse them in various convenient formats. Nowadays many events release dedicated apps (sometimes with limited ...
《QGIS Vari: Python插件实现的地理信息系统突出显示功能详解》 QGIS(Quantum GIS)是一款开源的地理信息系统,它提供了丰富的地图制图、数据分析以及地理处理工具。在QGIS中,用户可以通过安装各种插件来扩展其...
Expelled to a friendlier place: A study of eflective alternative schools. Ann Arbor: University of Michigan Press, 174 pp., [dollar]12.95 105 Book Reviews excellent job of providing a basic ...
### HyperMesh 基础培训知识点详述 #### 第一天:HyperMesh基本内容简介与操作实践 **1....- **定义与用途:** HyperMesh是一款高性能的工程仿真前后处理软件,广泛应用于航空航天、汽车制造等多个领域,用于创建、...
In a multiscale detector it corresponds to a raw error rate of able, in the region of 20-50 gray levels) bout 0. 8 false positives per 640 x 480 image tested. (The full Results. Fig. 3 shows the ...
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, ...for i:=0 to 15000 dobeginlistview1.Items.Add;listview1.Items.Item[i].Caption:=‘adb‘;end;listview1.Canvas.Unlock ;end;end.
VITIS是一个全面的软件开发环境,用于Xilinx FPGA(Field-Programmable Gate Array)器件,它允许开发者使用高级编程语言(如C/C++)来编写应用,并将其与硬件加速器结合。本说明主要涉及如何在VITIS中生成和使用...
[Matlab]-vari_one.m