我即将在我的服务器上安装一个jasperserver实例。 这不是我的第一个jasperserver安装,我已经在我的主机系统和lxc上做过了。 但是现在出于某种原因,在另一台服务器上完成安装后,出现以下错误:
Please wait while Setup installs JasperReports Server CP 5.6.0 on your computer. Installing 0% ______________ 50% ______________ 100% ######################################### Warning: Problem running post-install step. Installation may not complete correctly Error running /opt/jasperreports-server-cp-5.6.0/apache-ant/bin/ant import-ce -DimportFile=install_resources/export/js-catalog : BUILD FAILED /opt/jasperreports-server-cp-5.6.0/buildomatic/bin/import-export.xml:260: The following error occurred while executing this line: /opt/jasperreports-server-cp-5.6.0/buildomatic/bin/import-export.xml:158: Java returned: 255
你有什么想法可能导致这个错误发生?
使用主机名检查您的主机名,例如:
$ hostname jasperserver
然后更新你的/ etc / hosts:
127.0.0.1 localhost jasperserver
然后重新运行安装程序。 没事的….:)