Hi.

I have a single bundle, containing one service and some usual classes.

Once I've deployed it from local obr repository and everything was OK.

Then I updated it in repository and performed the following commands to
redeploy bundle:
> karaf@root()> stop com.demo.* ;   uninstall com.demo.*
> karaf@root()> obr:url-refresh ;     obr:deploy -s    
> com.demo.discovery.dns

It redeployed, but when I queried my service, I got cryptic
NoClassDefFoundError:

> java.lang.NoClassDefFoundError: com/demo/cluster/discovery/dns/Buffers$
>     at
> com.demo.cluster.discovery.dns.UDPHandler.messageReceived(UDPHandler.scala:14)
>     at
> com.demo.cluster.discovery.dns.UDPHandler.messageReceived(UDPHandler.scala:12)
>     at
> io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[228:io.netty.transport:5.0.0.Alpha2]
> ...

Then I've restarted Karaf and everything became fine again.

Could anybody give me any hint why I got such strange exception and how
to avoid it?


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to