powered by Jive Software

How to build wildfire?

Hopefully this is right place to ask.

I was tried to build the original of wildfire_src_3_2_2.zip source distribution.

First, I just was following the “Building the source” instruction in the document included in this source distribution. But I got error when I tried to build by typing “ant”, the error as below:

init:

compile:

Compiling 353 source files to C:\wildfire_src\work\classes

C:\wildfire_src\src\java\org\jivesoftware\wildfire\Channel.java:88: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.Session

Session session = SessionManager.getInstance().getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:530: init(org.jivesoftware.wildfire.session.Session) in org.jivesoftware.wildfire.Connection cannot be applied to (org.jivesoftware.wildfire.ClientSession)

conn.init(session);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:554: put(java.lang.String,org.jivesoftware.wildfire.ClientSession) in java.util.Map<java.lang.String,org.jivesoftware.wildfire.ClientSession> cannot be applied to (java.lang.String,org.jivesoftware.wildfire.http.HttpSession)

preAuthenticatedSessions.put(session.getAddress().getResource(), session);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:572: incompatible types

found : org.jivesoftware.wildfire.session.ComponentSession

required: org.jivesoftware.wildfire.Session

return session;

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:718: dispatchEvent(org.jivesoftware.wildfire.session.Session,org.jivesoftware.wildfi re.event.SessionEventDispatcher.EventType) in org.jivesoftware.wildfire.event.SessionEventDispatcher cannot be applied to (org.jivesoftware.wildfire.ClientSession,org.jivesoftware.wildfire.event.Sessio nEventDispatcher.EventType)

.dispatchEvent(session, SessionEventDispatcher.EventType.session_created);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:1104: cannot find symbol

symbol : method sort(java.util.List<org.jivesoftware.wildfire.ClientSession>,java.util.Co mparator<org.jivesoftware.wildfire.session.Session>)

location: class java.util.Collections

Collections.sort(filteredResults, filter.getSortComparator());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:1402: dispatchEvent(org.jivesoftware.wildfire.session.Session,org.jivesoftware.wildfi re.event.SessionEventDispatcher.EventType) in org.jivesoftware.wildfire.event.SessionEventDispatcher cannot be applied to (org.jivesoftware.wildfire.ClientSession,org.jivesoftware.wildfire.event.Sessio nEventDispatcher.EventType)

SessionEventDispatcher.dispatchEvent(session,

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:1422: dispatchEvent(org.jivesoftware.wildfire.session.Session,org.jivesoftware.wildfi re.event.SessionEventDispatcher.EventType) in org.jivesoftware.wildfire.event.SessionEventDispatcher cannot be applied to (org.jivesoftware.wildfire.ClientSession,org.jivesoftware.wildfire.event.Sessio nEventDispatcher.EventType)

SessionEventDispatcher.dispatchEvent(session,

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:1453: dispatchEvent(org.jivesoftware.wildfire.session.Session,org.jivesoftware.wildfi re.event.SessionEventDispatcher.EventType) in org.jivesoftware.wildfire.event.SessionEventDispatcher cannot be applied to (org.jivesoftware.wildfire.ClientSession,org.jivesoftware.wildfire.event.Sessio nEventDispatcher.EventType)

SessionEventDispatcher.dispatchEvent(session,

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:1493: cannot find symbol

symbol : method process(org.xmpp.packet.Presence,org.jivesoftware.wildfire.ClientSession)

location: class org.jivesoftware.wildfire.handler.PresenceUpdateHandler

presenceHandler.process(presence, session);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:1692: cannot find symbol

symbol : method addAll(java.util.Collection<org.jivesoftware.wildfire.session.ComponentSessi on>)

location: interface java.util.Set<org.jivesoftware.wildfire.Session>

sessions.addAll(getComponentSessions());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:1693: cannot find symbol

symbol : method addAll(java.util.Collection<org.jivesoftware.wildfire.session.OutgoingServer Session>)

location: interface java.util.Set<org.jivesoftware.wildfire.Session>

sessions.addAll(outgoingServerSessions.values());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:1695: cannot find symbol

symbol : method addAll(java.util.List<org.jivesoftware.wildfire.session.IncomingServerSessio n>)

location: interface java.util.Set<org.jivesoftware.wildfire.Session>

sessions.addAll(incomingSessions);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionManager.java:1699: cannot find symbol

symbol : method addAll(java.util.List<org.jivesoftware.wildfire.session.ConnectionMultiplexe rSession>)

location: interface java.util.Set<org.jivesoftware.wildfire.Session>

sessions.addAll(multiplexers);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\PresenceUpdateHandle r.java:88: cannot find symbol

symbol : method process(org.xmpp.packet.Presence,org.jivesoftware.wildfire.ClientSession)

location: class org.jivesoftware.wildfire.handler.PresenceUpdateHandler

process((Presence) packet, sessionManager.getSession(packet.getFrom()));

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\PresenceUpdateHandle r.java:155: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.Session

Session session = sessionManager.getSession(presence.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\session\ComponentSession.jav a:140: incompatible types

found : org.jivesoftware.wildfire.Session

required: org.jivesoftware.wildfire.session.Session

Session session = SessionManager.getInstance().createComponentSession(connection);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\session\ClientSession.java:2 65: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.Session

Session session = SessionManager.getInstance().createClientSession(connection);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\session\ClientSession.java:4 87: addSession(org.jivesoftware.wildfire.ClientSession) in org.jivesoftware.wildfire.SessionManager cannot be applied to (org.jivesoftware.wildfire.session.ClientSession)

sessionManager.addSession(this);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\session\ClientSession.java:5 03: addAnonymousSession(org.jivesoftware.wildfire.ClientSession) in org.jivesoftware.wildfire.SessionManager cannot be applied to (org.jivesoftware.wildfire.session.ClientSession)

sessionManager.addAnonymousSession(this);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\session\ClientSession.java:5 64: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

for (ClientSession session : sessionManager.getSessions(username)) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\session\ClientSession.java:6 20: sessionUnavailable(org.jivesoftware.wildfire.ClientSession) in org.jivesoftware.wildfire.SessionManager cannot be applied to (org.jivesoftware.wildfire.session.ClientSession)

sessionManager.sessionUnavailable(this);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\session\ClientSession.java:6 30: sessionAvailable(org.jivesoftware.wildfire.ClientSession) in org.jivesoftware.wildfire.SessionManager cannot be applied to (org.jivesoftware.wildfire.session.ClientSession)

sessionManager.sessionAvailable(this);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQRegisterHandler.ja va:148: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQAuthHandler.java:8 7: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQAuthHandler.java:2 02: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

oldSession = sessionManager.getSession(username, domain, resource);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\IQRouter.java:81: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\IQRouter.java:312: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getBestRoute(recipientJID);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\IQRouter.java:342: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.Session

Session session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\IQRouter.java:377: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.Session

Session session = sessionManager.getSession(originalPacket.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\MessageRouter.java:69: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\PresenceRouter.java:64: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\PresenceRouter.java:127: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.Session

Session session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\PresenceRouter.java:177: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.Session

Session session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\disco\IQDiscoItemsHandler.ja va:331: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.Session

for (Session session : SessionManager.getInstance().getSessions(name)) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\roster\Roster.java:565: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(from);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\roster\Roster.java:703: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

for (ClientSession session : sessionManager.getSessions(username)) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\muc\spi\MUCRoleImpl.java:120 : incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

this.session = XMPPServer.getInstance().getSessionManager().getSession(presence.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionPacketRouter.java:104 : incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionPacketRouter.java:116 : incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\SessionPacketRouter.java:128 : incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\commands\admin\GetListActive Users.java:83: incompatible types

found : java.util.Collection<org.jivesoftware.wildfire.ClientSession>

required: java.util.Collection<org.jivesoftware.wildfire.session.ClientSession>

Collection<ClientSession> sessions = SessionManager.getInstance().getSessions();

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\commands\admin\GetNumberActi veUsers.java:50: incompatible types

found : java.util.Collection<org.jivesoftware.wildfire.ClientSession>

required: java.util.Collection<org.jivesoftware.wildfire.session.ClientSession>

Collection<ClientSession> sessions = SessionManager.getInstance().getSessions();

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\commands\admin\GetNumberOnli neUsers.java:51: incompatible types

found : java.util.Collection<org.jivesoftware.wildfire.ClientSession>

required: java.util.Collection<org.jivesoftware.wildfire.session.ClientSession>

Collection<ClientSession> sessions = SessionManager.getInstance().getSessions();

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\commands\admin\GetServerStat s.java:102: incompatible types

found : java.util.Collection<org.jivesoftware.wildfire.ClientSession>

required: java.util.Collection<org.jivesoftware.wildfire.session.ClientSession>

Collection<ClientSession> sessions = SessionManager.getInstance().getSessions();

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\commands\admin\GetUsersPrese nce.java:86: incompatible types

found : java.util.Collection<org.jivesoftware.wildfire.ClientSession>

required: java.util.Collection<org.jivesoftware.wildfire.session.ClientSession>

Collection<ClientSession> sessions = SessionManager.getInstance().getSessions();

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\container\AdminConsolePlugin .java:75: cannot find symbol

symbol : method setSendServerVersion(boolean)

location: class org.mortbay.jetty.Server

adminServer.setSendServerVersion(false);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\container\AdminConsolePlugin .java:90: cannot find symbol

symbol : method addConnector(org.mortbay.jetty.Connector)

location: class org.mortbay.jetty.Server

adminServer.addConnector(httpConnector);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\container\AdminConsolePlugin .java:122: cannot find symbol

symbol : method addConnector(org.jivesoftware.wildfire.container.AdminConsolePlugin.JiveSslConn ector)

location: class org.mortbay.jetty.Server

adminServer.addConnector(httpsConnector);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\container\AdminConsolePlugin .java:130: cannot find symbol

symbol : method getConnectors()

location: class org.mortbay.jetty.Server

if (adminServer.getConnectors() == null || adminServer.getConnectors().length == 0) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\container\AdminConsolePlugin .java:130: cannot find symbol

symbol : method getConnectors()

location: class org.mortbay.jetty.Server

if (adminServer.getConnectors() == null || adminServer.getConnectors().length == 0) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\container\AdminConsolePlugin .java:137: cannot find symbol

symbol : method setHandlers(org.mortbay.jetty.Handler[])

location: class org.mortbay.jetty.Server

adminServer.setHandlers(new Handler[] { contexts, new DefaultHandler() });

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\container\AdminConsolePlugin .java:160: cannot find symbol

symbol : method isRunning()

location: class org.mortbay.jetty.Server

if (adminServer != null && adminServer.isRunning()) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\container\AdminConsolePlugin .java:266: cannot find symbol

symbol : method getConnectors()

location: class org.mortbay.jetty.Server

for (Connector connector : adminServer.getConnectors()) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQBindHandler.java:5 2: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQBindHandler.java:1 01: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

oldSession = sessionManager.getSession(username, domain, resource);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQOfflineMessagesHan dler.java:73: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQOfflineMessagesHan dler.java:97: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQOfflineMessagesHan dler.java:205: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(senderJID);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQPrivacyHandler.jav a:149: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(from);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQPrivacyHandler.jav a:218: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(from);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQPrivacyHandler.jav a:241: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(from);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQPrivacyHandler.jav a:270: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(from);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQPrivacyHandler.jav a:302: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession session = sessionManager.getSession(from);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQPrivacyHandler.jav a:348: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

for (ClientSession session : sessionManager.getSessions(from.getNode())) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQPrivacyHandler.jav a:385: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

currentSession = sessionManager.getSession(from);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\handler\IQPrivacyHandler.jav a:387: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

for (ClientSession session : sessionManager.getSessions(from.getNode())) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\http\HttpBindManager.java:17 7: cannot find symbol

symbol : method isRunning()

location: class org.mortbay.jetty.Server

return httpBindServer != null && httpBindServer.isRunning();

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\http\HttpBindManager.java:26 2: cannot find symbol

symbol : method addConnector(org.mortbay.jetty.Connector)

location: class org.mortbay.jetty.Server

httpBindServer.addConnector(httpConnector);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\http\HttpBindManager.java:26 5: cannot find symbol

symbol : method addConnector(org.mortbay.jetty.Connector)

location: class org.mortbay.jetty.Server

httpBindServer.addConnector(httpsConnector);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\http\HttpBindManager.java:26 8: cannot find symbol

symbol : method setHandlers(org.mortbay.jetty.Handler[])

location: class org.mortbay.jetty.Server

httpBindServer.setHandlers(new Handler[] { contexts, new DefaultHandler() });

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\http\HttpSessionManager.java :47: removeSession(org.jivesoftware.wildfire.ClientSession) in org.jivesoftware.wildfire.SessionManager cannot be applied to (org.jivesoftware.wildfire.http.HttpSession)

sessionManager.removeSession(session);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\multiplex\ConnectionMultiple xerManager.java:133: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

.createClientSession(connection, new BasicStreamID(streamID));

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\net\SocketPacketWriteHandler .java:66: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

ClientSession senderSession = sessionManager.getSession(packet.getFrom());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\net\SocketPacketWriteHandler .java:76: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.Session

Session session = sessionManager.getBestRoute(recipient);

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\spi\PresenceManagerImpl.java :90: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

for (ClientSession session : sessionManager.getSessions(user.getUsername())) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\spi\PresenceManagerImpl.java :115: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

for (ClientSession session : sessionManager.getSessions(username)) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\spi\PresenceManagerImpl.java :317: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

for (ClientSession session : sessionManager.getSessions(prober.getNode())) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\spi\PresenceManagerImpl.java :326: incompatible types

found : java.util.Collection<org.jivesoftware.wildfire.ClientSession>

required: java.util.Collection<org.jivesoftware.wildfire.session.ClientSession>

Collection<ClientSession> sessions = sessionManager.getSessions(probee.getNode());

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\spi\PresenceManagerImpl.java :430: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

for (ClientSession session : sessionManager.getSessions(userJID.getNode())) {

^

C:\wildfire_src\src\java\org\jivesoftware\wildfire\spi\PresenceManagerImpl.java :442: incompatible types

found : org.jivesoftware.wildfire.ClientSession

required: org.jivesoftware.wildfire.session.ClientSession

.getSessions(recipientJID.getNode())) {

^

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

81 errors

BUILD FAILED

C:\wildfire_src\build\build.xml:267: Compile failed; see the compiler error output for details.

Total time: 5 seconds


Secondly, I was following instruction in http://wiki.igniterealtime.org/display/WILDFIRE/Build+Wildfire+with+Eclipse .

I got errors when I ran as bellow:

Exception in thread “main” java.lang.IllegalAccessError: tried to access class org.jivesoftware.wildfire.starter.JiveClassLoader from class org.jivesoftware.wildfire.starter.ServerStarter

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:88)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)


kindly help me to solve this problem.

Thank you

Message was edited by: aan.isnaini

Message was edited by: aan.isnaini

Hi,

do you also use an IDE? wiki.igniterealtime.org contains a guide to build Openfire using Eclipse.

LG