<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src/java"/> <classpathentry kind="src" path="src/i18n"/> <classpathentry kind="src" path="build/lib/dist"/> <classpathentry kind="src" path="src/resources/jar"/> <classpathentry kind="src" output="work/plugins-dev/broadcast/target/classes" path="src/plugins/broadcast/src/java"/> <classpathentry kind="src" output="work/plugins-dev/clientControl/target/classes" path="src/plugins/clientControl/src/java"/> <classpathentry kind="src" output="work/plugins-dev/contentFilter/target/classes" path="src/plugins/contentFilter/src/java"/> <classpathentry kind="src" output="work/plugins-dev/dbaccess/target/classes" path="src/plugins/dbaccess/src/java"/> <classpathentry kind="src" output="work/plugins-dev/emailListener/target/classes" path="src/plugins/emailListener/src/java"/> <classpathentry kind="src" output="work/plugins-dev/fastpath/target/classes" path="src/plugins/fastpath/src/java"/> <classpathentry kind="src" output="work/plugins-dev/gojara/target/classes" path="src/plugins/gojara/src/java"/> <classpathentry kind="src" output="work/plugins-dev/jingleNodes/target/classes" path="src/plugins/jingleNodes/src/java"/> <classpathentry kind="src" output="work/plugins-dev/justmarried/target/classes" path="src/plugins/justmarried/src/java"/> <classpathentry kind="src" output="work/plugins-dev/kraken/target/classes" path="src/plugins/kraken/src/java"/> <classpathentry kind="src" output="work/plugins-dev/loadStats/target/classes" path="src/plugins/loadStats/src/java"/> <classpathentry kind="src" output="work/plugins-dev/monitoring/target/classes" path="src/plugins/monitoring/src/java"/> <classpathentry kind="src" output="work/plugins-dev/motd/target/classes" path="src/plugins/motd/src/java"/> <classpathentry kind="src" output="work/plugins-dev/nodejs/target/classes" path="src/plugins/nodejs/src/java"/> <classpathentry kind="src" output="work/plugins-dev/packetFilter/target/classes" path="src/plugins/packetFilter/src/java"/> <classpathentry kind="src" output="work/plugins-dev/presence/target/classes" path="src/plugins/presence/src/java"/> <classpathentry kind="src" output="work/plugins-dev/registration/target/classes" path="src/plugins/registration/src/java"/> <classpathentry kind="src" output="work/plugins-dev/search/target/classes" path="src/plugins/search/src/java"/> <classpathentry kind="src" output="work/plugins-dev/stunserver/target/classes" path="src/plugins/stunserver/src/java"/> <classpathentry kind="src" output="work/plugins-dev/subscription/target/classes" path="src/plugins/subscription/src/java"/> <classpathentry kind="src" output="work/plugins-dev/userCreation/target/classes" path="src/plugins/userCreation/src/java"/> <classpathentry kind="src" output="work/plugins-dev/userImportExport/target/classes" path="src/plugins/userImportExport/src/java"/> <classpathentry kind="src" output="work/plugins-dev/userservice/target/classes" path="src/plugins/userservice/src/java"/> <classpathentry kind="src" output="work/plugins-dev/xmldebugger/target/classes" path="src/plugins/xmldebugger/src/java"/> <classpathentry kind="src" path="src/test/java"/> <classpathentry kind="src" path="src/test/throttletest/src"/> <classpathentry kind="lib" path="build/lib/ant/ant-contrib.jar"/> <classpathentry kind="lib" path="build/lib/cglib-nodep.jar"/> <classpathentry kind="lib" path="build/lib/dist/hsqldb.jar"/> <classpathentry kind="lib" path="build/lib/dist/jtds.jar"/> <classpathentry kind="lib" path="build/lib/dist/mail.jar"/> <classpathentry kind="lib" path="build/lib/dist/mysql.jar"/> <classpathentry kind="lib" path="build/lib/dist/postgres.jar"/> <classpathentry kind="lib" path="build/lib/dist/slf4j-log4j12.jar"/> <classpathentry kind="lib" path="build/lib/i4jruntime.jar"/> <classpathentry kind="lib" path="build/lib/jmock-junit4.jar"/> <classpathentry kind="lib" path="build/lib/jmock-legacy.jar"/> <classpathentry kind="lib" path="build/lib/jmock.jar"/> <classpathentry kind="lib" path="build/lib/junit.jar"/> <classpathentry kind="lib" path="build/lib/merge/commons-codec.jar"/> <classpathentry kind="lib" path="build/lib/merge/commons-httpclient.jar"/> <classpathentry kind="lib" path="build/lib/merge/commons-lang.jar"/> <classpathentry kind="lib" path="build/lib/merge/commons-logging.jar"/> <classpathentry kind="lib" path="build/lib/merge/concurrentlinkedhashmap-lru-1.0_jdk5.jar"/> <classpathentry kind="lib" path="build/lib/merge/dbutil.jar"/> <classpathentry kind="lib" path="build/lib/merge/dom4j.jar"/> <classpathentry kind="lib" path="build/lib/merge/jaxen.jar"/> <classpathentry kind="lib" path="build/lib/merge/jdom.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-continuation.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-http.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-io.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-security.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-server.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-servlet.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-util.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-webapp.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-xml.jar"/> <classpathentry kind="lib" path="build/lib/merge/jmdns.jar"/> <classpathentry kind="lib" path="build/lib/merge/jzlib.jar"/> <classpathentry kind="lib" path="build/lib/merge/libidn.jar"/> <classpathentry kind="lib" path="build/lib/merge/log4j.jar"/> <classpathentry kind="lib" path="build/lib/merge/mina-core.jar"/> <classpathentry kind="lib" path="build/lib/merge/mina-filter-compression.jar"/> <classpathentry kind="lib" path="build/lib/merge/proxool.jar"/> <classpathentry kind="lib" path="build/lib/merge/rome-fetcher.jar"/> <classpathentry kind="lib" path="build/lib/merge/rome.jar"/> <classpathentry kind="lib" path="build/lib/merge/shaj.jar"/> <classpathentry kind="lib" path="build/lib/merge/sitemesh.jar"/> <classpathentry kind="lib" path="build/lib/merge/slf4j-api.jar"/> <classpathentry kind="lib" path="build/lib/merge/standard.jar"/> <classpathentry kind="lib" path="build/lib/merge/stringprep.jar"/> <classpathentry kind="lib" path="build/lib/merge/tinder.jar"/> <classpathentry kind="lib" path="build/lib/merge/xpp3.jar"/> <classpathentry kind="lib" path="build/lib/objenesis.jar"/> <classpathentry kind="lib" path="build/lib/src/commons-lang-sources.jar"/> <classpathentry kind="lib" path="build/lib/ant/xmltask.jar"/> <classpathentry kind="lib" path="src/plugins/clientControl/lib/commons-fileupload-1.0.jar"/> <classpathentry kind="lib" path="src/plugins/fastpath/lib/commons-fileupload-1.0.jar"/> <classpathentry kind="lib" path="src/plugins/fastpath/lib/lucene.jar"/> <classpathentry kind="lib" path="src/plugins/fastpath/lib/xstream.jar"/> <classpathentry kind="lib" path="src/plugins/gojara/lib/json.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/concurrent.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/dwr.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/httpclient.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/httpcore.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/jainsipapi.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/jainsipri.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/jakarta-regexp.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/jcip-annotations.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/jggapi.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/jml.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/joscar-common.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/joscar-protocol.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/jqql.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/jsocks.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/json.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/martyr.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/msim.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/openymsg.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/smack.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/smackx.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/stcomm.jar"/> <classpathentry kind="lib" path="src/plugins/kraken/lib/xmlrpc.jar"/> <classpathentry kind="lib" path="src/plugins/jingleNodes/lib/jnsapi.jar"/> <classpathentry kind="lib" path="src/plugins/monitoring/lib/dwr.jar"/> <classpathentry kind="lib" path="src/plugins/monitoring/lib/itext.jar"/> <classpathentry kind="lib" path="src/plugins/monitoring/lib/jcommon.jar"/> <classpathentry kind="lib" path="src/plugins/monitoring/lib/jfreechart.jar"/> <classpathentry kind="lib" path="src/plugins/monitoring/lib/jrobin.jar"/> <classpathentry kind="lib" path="src/plugins/monitoring/lib/lucene.jar"/> <classpathentry kind="lib" path="src/plugins/monitoring/lib/picocontainer.jar"/> <classpathentry kind="lib" path="src/plugins/registration/lib/recaptcha4j.jar"/> <classpathentry kind="lib" path="src/plugins/sip/lib/JainSipApi1.1.jar"/> <classpathentry kind="lib" path="src/plugins/sip/lib/nist-sip-1.2.jar"/> <classpathentry kind="lib" path="src/plugins/userImportExport/lib/commons-fileupload-1.0.jar"/> <classpathentry kind="lib" path="src/plugins/userImportExport/lib/isorelax.jar"/> <classpathentry kind="lib" path="src/plugins/userImportExport/lib/msv.jar"/> <classpathentry kind="lib" path="src/plugins/userImportExport/lib/relaxngDatatype.jar"/> <classpathentry kind="lib" path="src/plugins/userImportExport/lib/xsdlib.jar"/> <classpathentry kind="lib" path="src/test/throttletest/build/lib/smack.jar"/> <classpathentry kind="lib" path="src/test/throttletest/build/lib/smackx.jar"/> <classpathentry kind="lib" path="src/web/WEB-INF/lib/commons-fileupload.jar"/> <classpathentry kind="lib" path="src/web/WEB-INF/lib/commons-io.jar"/> <classpathentry kind="lib" path="src/web/WEB-INF/lib/dwr.jar"/> <classpathentry kind="lib" path="build/lib/merge/servlet-api.jar"/> <classpathentry kind="lib" path="build/lib/ant/ant-junit.jar"/> <classpathentry kind="lib" path="build/lib/ant/ant-junit4.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> <classpathentry kind="lib" path="src/plugins/stunserver/lib/jstun-0.6.1.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-jmx.jar"/> <classpathentry kind="lib" path="build/lib/merge/mina-integration-jmx.jar"/> <classpathentry kind="lib" path="build/lib/dist/bcpg-jdk15on.jar"/> <classpathentry kind="lib" path="build/lib/dist/bcpkix-jdk15on.jar"/> <classpathentry kind="lib" path="build/lib/dist/bcprov-jdk15on.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-servlets.jar"/> <classpathentry kind="lib" path="build/lib/merge/spdy-client.jar"/> <classpathentry kind="lib" path="build/lib/merge/spdy-core.jar"/> <classpathentry kind="lib" path="build/lib/merge/spdy-http-common.jar"/> <classpathentry kind="lib" path="build/lib/merge/spdy-http-server.jar"/> <classpathentry kind="lib" path="build/lib/merge/spdy-server.jar"/> <classpathentry kind="lib" path="build/lib/merge/javax-websocket-client-impl.jar"/> <classpathentry kind="lib" path="build/lib/merge/javax-websocket-server-impl.jar"/> <classpathentry kind="lib" path="src/plugins/callbackOnOffline/lib/javax.ws.rs-api-2.0.1.jar"/> <classpathentry kind="lib" path="src/plugins/userservice/lib/jersey-bundle-1.18.jar"/> <classpathentry kind="lib" path="build/lib/hamcrest-core.jar"/> <classpathentry kind="lib" path="build/lib/jaxb-api.jar"/> <classpathentry kind="lib" path="build/lib/ant/jugbbant-1.7.jar"/> <classpathentry kind="lib" path="build/lib/ant/slf4j-simple.jar"/> <classpathentry kind="lib" path="build/lib/ant/xalan.jar"/> <classpathentry kind="lib" path="build/lib/dist/javax.websocket-api.jar"/> <classpathentry kind="lib" path="build/lib/dist/npn-boot.jar"/> <classpathentry kind="lib" path="build/lib/merge/javassist.jar"/> <classpathentry kind="lib" path="build/lib/merge/javax.websocket-api.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-plus.jar"/> <classpathentry kind="lib" path="build/lib/merge/jetty-schemas.jar"/> <classpathentry kind="lib" path="build/lib/merge/mina-integration-beans.jar"/> <classpathentry kind="lib" path="build/lib/merge/mina-integration-ognl.jar"/> <classpathentry kind="lib" path="build/lib/merge/ognl.jar"/> <classpathentry kind="lib" path="build/lib/merge/org.apache.taglibs.taglibs-standard-impl.jar"/> <classpathentry kind="lib" path="build/lib/merge/org.apache.taglibs.taglibs-standard-spec.jar"/> <classpathentry kind="lib" path="build/lib/merge/org.eclipse.jetty.apache-jsp.jar"/> <classpathentry kind="lib" path="build/lib/merge/org.eclipse.jetty.orbit.org.eclipse.jdt.core.jar"/> <classpathentry kind="lib" path="build/lib/merge/org.mortbay.jasper.apache-el.jar"/> <classpathentry kind="lib" path="build/lib/merge/org.mortbay.jasper.apache-jsp.jar"/> <classpathentry kind="lib" path="build/lib/merge/websocket-api.jar"/> <classpathentry kind="lib" path="build/lib/merge/websocket-client.jar"/> <classpathentry kind="lib" path="build/lib/merge/websocket-common.jar"/> <classpathentry kind="lib" path="build/lib/merge/websocket-server.jar"/> <classpathentry kind="lib" path="build/lib/merge/websocket-servlet.jar"/> <classpathentry kind="lib" path="build/lib/src/ant-jive-edition-sources.jar"/> <classpathentry kind="lib" path="build/lib/src/slf4j-api-sources.jar"/> <classpathentry kind="lib" path="build/lib/src/slf4j-log4j12-sources.jar"/> <classpathentry kind="output" path="work/classes"/> </classpath>
把默认name:New_configuration 修改成:ServerStarter。
选中Main选项卡,点击Browse按钮选择 openfire_src 项目;单击Search 按钮输入:ServerStarter 自动过滤后选择:ServerStarter – org.jivesoftware.openfire.starter:
选中Arguments选项卡,在VM arguments中填入:
-DopenfireHome=${workspace_loc:openfire}/target/openfire
注意:项目路径 ${workspace_loc:openfire}
选中Common选项卡,将Debug和Run打钩(方便之后快速启动),然后点击apply,再点击run:
SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/D:/classical_books/asiainfo/eclipse_one/openfire_src_4_0_2/openfire_src/build/lib/dist/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/D:/classical_books/asiainfo/eclipse_one/openfire_src_4_0_2/openfire_src/build/lib/ant/slf4j-simple.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] Openfire 4.0.2 [Jul 10, 2016 2:00:17 PM] Admin console listening at http://lenovo-pc:9090 //(表明管理器控制台 正在监听9090 端口)