openfire报错及处理方法

来源:互联网 发布:索罗斯做空中国知乎 编辑:程序博客网 时间:2024/06/05 20:29

一、openfire配置完,运行时控制台报如下错误:


一大堆东西,比较有用的就是XML properties file does not exist:openfire.xml

这说明Openfire的Home没有设定或者设置不正确


选中项目,点击run -> run configurations;

Arguments标签


VM arguments中填入-DopenfireHome="${workspace_loc:openfire}/target/openfire"其中第一个openfire是你的项目名,如果你的项目名叫openfirexxoo,这里就填

-DopenfireHome="${workspace_loc:openfirexxoo}/target/openfire"

二、可以正常运行,但是运行后访问http://127.0.0.1:9090时:


控制台报错:


解决方法:

复制openfire\src\resources\jar下admin-sidebar.xml文件到

openfire\bin下

重启openfire就可以了

2015-07-02  修改

在部署openfire3.10.2时发现openfire目录下没有bin文件夹,新的解决方法如下:

配置openfire的Run Configurations中的Classpath时,配置如下:


修改为此配置可以顺利部署


0 0
原创粉丝点击