• 模块公有包中不能导入私有包的内容


    否则编译时会出现错误error: cannot access XXX

    序列化时需要访问实现类,故实现类也必须放在共有接口\





    java.io.IOException: Unable to create a messenger to jxta://cbid-59616261646162614A787461503250339B80947442A966E8BEC09A04724886F203/PipeService/urn:jxta:cbid-A1B68F40F0E84E66A8A7C66DCB652BCD9989972C7C7A4D87AD35941B9EE5DDE204
        at net.jxta.impl.pipe.BlockingWireOutputPipe.checkMessenger(BlockingWireOutputPipe.java:233)
        at net.jxta.impl.pipe.BlockingWireOutputPipe.<init>(BlockingWireOutputPipe.java:154)
        at net.jxta.impl.pipe.BlockingWireOutputPipe.<init>(BlockingWireOutputPipe.java:134)
        at net.jxta.impl.pipe.PipeServiceImpl.createOutputPipe(PipeServiceImpl.java:528)
        at net.jxta.impl.pipe.PipeServiceImpl.createOutputPipe(PipeServiceImpl.java:452)
        at net.jxta.socket.JxtaMulticastSocket.send(JxtaMulticastSocket.java:385)
    [catch] at jxmessenger.jxse.presenceservice.PresenceServiceImpl.responsePeerInfo(PresenceServiceImpl.java:214)
        at jxmessenger.jxse.PeerGroupManagerImpl$1.peerInfoChanged(PeerGroupManagerImpl.java:81)
        at jxmessenger.jxse.presenceservice.PresenceServiceImpl$1.run(PresenceServiceImpl.java:164)
        at java.lang.Thread.run(Thread.java:722)
    __________________________________________________________________________________________

    可以使用LOOKUP机制避免这个问题

  • 相关阅读:
    Northwind测试学习用数据库
    DataTables在回调方法中使用api
    DataTables获取表单输入框数据
    DataTables选择行并删除(删除单行)
    DataTables选择多行
    DataTables给每一列添加下拉框搜索
    AngularJS 父子控制器
    更改AngularJS的语法解析符号
    AngularJS中的控制器示例_3
    AngularJS中的控制器示例_2
  • 原文地址:https://www.cnblogs.com/cuizhf/p/2216335.html
Copyright © 2020-2023  润新知