Hello Haakon,
AddressPool is only present in the impl source tree and not
in the
service. (The reason for this is that it was never finished
and we are
not using it yet). This means that it is not exported by any
bundle and
hence the SIP provider is not getting any access to it.
You can learn more on OSGi services in SIP Communicator
here:
http://www.sip-communicator.org/index.ph
p/Documentation/CreatingServices
Cheers
Emil
Håkon Kjuus wrote:
> Hello,
>
> I am trying to use methods from AddressPool in
SipRegistrarConnection,
> and the project builds without errors.
> Code:
> AddressPool adrpool = new AddressPool();
> ..
>
> But when I try to run it, I get a
NoClassDefFoundError:
> [java] Exception in thread "Thread-13"
java.lang.NoClassDefFoundError:
> net/java/sip/communicator/impl/netaddr/AddressPool
> [java] at
>
net.java.sip.communicator.impl.protocol.sip.SipRegistrarConn
ection.register(SipRegistrarConnection.java:147)
>
> The path of AddressPool is imported (import
> net.java.sip.communicator.impl.netaddr.*;)
>
> When trying to use AddressPool from a class within the
same package
> (net.java.sip.communicator.impl.netaddr) I get no
errors.
>
> Can you give me some hints on how to solve this?
>
>
> Regards Haakon
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
For additional commands, e-mail: dev-help sip-communicator.dev.java.net
|