UDN-企业互联网技术人气社区

板块导航

浏览  : 695
回复  : 1

做拉单的时候

[复制链接]
uec_dDPg8f270i的头像 楼主
发表于 2018-7-12 15:45:27 | 显示全部楼层 |阅读模式
点击拉单按钮且查询确定后,执行到如图所示的代码结束,出现如图所示的报错框,错误代码如下:
15:44:50 [AWT-EventQueue-0] ERROR - Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
nc.bs.framework.exception.ComponentNotFoundException: Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
        at nc.bs.framework.server.AbstractContext.lookup(AbstractContext.java:161)
        at nc.bs.framework.server.AbstractContext.getComponentMetaVO(AbstractContext.java:384)
        at nc.bs.framework.server.BusinessAppServer$BusinessServerRemoteMetaContext.lookup(BusinessAppServer.java:1007)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.invokeBeanMethod(RMIHandlerImpl.java:282)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.doHandle(RMIHandlerImpl.java:142)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.handle(RMIHandlerImpl.java:68)
        at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:45)

15:44:50 [AWT-EventQueue-0] ERROR - Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
nc.vo.pubapp.pattern.exception.CarrierRuntimeException: Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
        at nc.vo.pubapp.pattern.exception.ExceptionUtils.wrappException(ExceptionUtils.java:177)
        at nc.ui.pubapp.billref.src.action.QueryAction.executeQuery(QueryAction.java:259)
        at nc.ui.pubapp.billref.src.action.QueryAction.doQuery(QueryAction.java:325)
        at nc.ui.pubapp.billref.src.action.QueryAction$1.doQuery(QueryAction.java:127)
        at nc.ui.pubapp.billref.src.action.QueryAction.doAction(QueryAction.java:143)
        at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:85)
        at nc.ui.pubapp.billref.src.view.RefBillUI.loadHeadData(RefBillUI.java:391)
        at nc.ui.pubapp.billref.src.view.SourceRefDlg.loadHeadData(SourceRefDlg.java:228)
        at nc.ui.pub.pf.PfUtilClient.refBillSource(PfUtilClient.java:723)
        at nc.ui.pub.pf.PfUtilClient.childButtonClickedNew(PfUtilClient.java:570)
        at nc.ui.bustest.busbilltwo.billref.AddBUSTAction.doAction(AddBUSTAction.java:33)
        at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:85)
        at nc.funcnode.ui.action.ActionDelegate.actionPerformed(ActionDelegate.java:261)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
        at nc.ui.plaf.basic.UIMenuItemUI.doClick(UIMenuItemUI.java:1191)
        at nc.ui.plaf.basic.UIMenuItemUI$MouseInputHandler.mouseReleased(UIMenuItemUI.java:1016)
        at java.awt.Component.processMouseEvent(Component.java:6216)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5981)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4583)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4413)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Component.dispatchEvent(Component.java:4413)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: nc.bs.framework.exception.ComponentNotFoundException: Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
        at nc.bs.framework.server.AbstractContext.lookup(AbstractContext.java:161)
        at nc.bs.framework.server.AbstractContext.getComponentMetaVO(AbstractContext.java:384)
        at nc.bs.framework.server.BusinessAppServer$BusinessServerRemoteMetaContext.lookup(BusinessAppServer.java:1007)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.invokeBeanMethod(RMIHandlerImpl.java:282)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.doHandle(RMIHandlerImpl.java:142)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.handle(RMIHandlerImpl.java:68)
        at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:45)

15:44:50 [AWT-EventQueue-0] ERROR - 未知错误
nc.vo.pubapp.pattern.exception.CarrierRuntimeException: Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
        at nc.vo.pubapp.pattern.exception.ExceptionUtils.wrappException(ExceptionUtils.java:177)
        at nc.ui.pubapp.billref.src.action.QueryAction.doQuery(QueryAction.java:342)
        at nc.ui.pubapp.billref.src.action.QueryAction$1.doQuery(QueryAction.java:127)
        at nc.ui.pubapp.billref.src.action.QueryAction.doAction(QueryAction.java:143)
        at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:85)
        at nc.ui.pubapp.billref.src.view.RefBillUI.loadHeadData(RefBillUI.java:391)
        at nc.ui.pubapp.billref.src.view.SourceRefDlg.loadHeadData(SourceRefDlg.java:228)
        at nc.ui.pub.pf.PfUtilClient.refBillSource(PfUtilClient.java:723)
        at nc.ui.pub.pf.PfUtilClient.childButtonClickedNew(PfUtilClient.java:570)
        at nc.ui.bustest.busbilltwo.billref.AddBUSTAction.doAction(AddBUSTAction.java:33)
        at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:85)
        at nc.funcnode.ui.action.ActionDelegate.actionPerformed(ActionDelegate.java:261)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
        at nc.ui.plaf.basic.UIMenuItemUI.doClick(UIMenuItemUI.java:1191)
        at nc.ui.plaf.basic.UIMenuItemUI$MouseInputHandler.mouseReleased(UIMenuItemUI.java:1016)
        at java.awt.Component.processMouseEvent(Component.java:6216)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5981)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4583)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4413)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Component.dispatchEvent(Component.java:4413)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: nc.vo.pubapp.pattern.exception.CarrierRuntimeException: Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
        at nc.vo.pubapp.pattern.exception.ExceptionUtils.wrappException(ExceptionUtils.java:177)
        at nc.ui.pubapp.billref.src.action.QueryAction.executeQuery(QueryAction.java:259)
        at nc.ui.pubapp.billref.src.action.QueryAction.doQuery(QueryAction.java:325)
        ... 36 more
Caused by: nc.bs.framework.exception.ComponentNotFoundException: Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
        at nc.bs.framework.server.AbstractContext.lookup(AbstractContext.java:161)
        at nc.bs.framework.server.AbstractContext.getComponentMetaVO(AbstractContext.java:384)
        at nc.bs.framework.server.BusinessAppServer$BusinessServerRemoteMetaContext.lookup(BusinessAppServer.java:1007)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.invokeBeanMethod(RMIHandlerImpl.java:282)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.doHandle(RMIHandlerImpl.java:142)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.handle(RMIHandlerImpl.java:68)
        at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:45)

15:44:50 [AWT-EventQueue-0] ERROR - 未知错误
nc.vo.pubapp.pattern.exception.CarrierRuntimeException: Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
        at nc.vo.pubapp.pattern.exception.ExceptionUtils.wrappException(ExceptionUtils.java:177)
        at nc.ui.pubapp.billref.src.action.QueryAction.executeQuery(QueryAction.java:259)
        at nc.ui.pubapp.billref.src.action.QueryAction.doQuery(QueryAction.java:325)
        at nc.ui.pubapp.billref.src.action.QueryAction$1.doQuery(QueryAction.java:127)
        at nc.ui.pubapp.billref.src.action.QueryAction.doAction(QueryAction.java:143)
        at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:85)
        at nc.ui.pubapp.billref.src.view.RefBillUI.loadHeadData(RefBillUI.java:391)
        at nc.ui.pubapp.billref.src.view.SourceRefDlg.loadHeadData(SourceRefDlg.java:228)
        at nc.ui.pub.pf.PfUtilClient.refBillSource(PfUtilClient.java:723)
        at nc.ui.pub.pf.PfUtilClient.childButtonClickedNew(PfUtilClient.java:570)
        at nc.ui.bustest.busbilltwo.billref.AddBUSTAction.doAction(AddBUSTAction.java:33)
        at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:85)
        at nc.funcnode.ui.action.ActionDelegate.actionPerformed(ActionDelegate.java:261)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
        at nc.ui.plaf.basic.UIMenuItemUI.doClick(UIMenuItemUI.java:1191)
        at nc.ui.plaf.basic.UIMenuItemUI$MouseInputHandler.mouseReleased(UIMenuItemUI.java:1016)
        at java.awt.Component.processMouseEvent(Component.java:6216)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5981)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4583)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4413)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Component.dispatchEvent(Component.java:4413)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: nc.bs.framework.exception.ComponentNotFoundException: Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
        at nc.bs.framework.server.AbstractContext.lookup(AbstractContext.java:161)
        at nc.bs.framework.server.AbstractContext.getComponentMetaVO(AbstractContext.java:384)
        at nc.bs.framework.server.BusinessAppServer$BusinessServerRemoteMetaContext.lookup(BusinessAppServer.java:1007)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.invokeBeanMethod(RMIHandlerImpl.java:282)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.doHandle(RMIHandlerImpl.java:142)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.handle(RMIHandlerImpl.java:68)
        at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:45)

15:44:50 [AWT-EventQueue-0] ERROR - 未知错误
nc.bs.framework.exception.ComponentNotFoundException: Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
        at nc.bs.framework.server.AbstractContext.lookup(AbstractContext.java:161)
        at nc.bs.framework.server.AbstractContext.getComponentMetaVO(AbstractContext.java:384)
        at nc.bs.framework.server.BusinessAppServer$BusinessServerRemoteMetaContext.lookup(BusinessAppServer.java:1007)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.invokeBeanMethod(RMIHandlerImpl.java:282)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.doHandle(RMIHandlerImpl.java:142)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.handle(RMIHandlerImpl.java:68)
        at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:45)



拉单1.png
拉单3.png
uec_dDPg8f270i的头像 楼主
发表于 2018-7-12 19:12:20 | 显示全部楼层
Component: nc.itf.bustest.IBUSTRefQueyService,Detail Message: The tx component: nc.itf.bustest.IBUSTRefQueyService is not found in jndi  please deploy it!} jndiName: nc.itf.bustest.IBUSTRefQueyService meta: null
是因为IBUSTRefQueyService是自定义的接口,需要在uaphome/modules/???/META-INF下新建一个upm文件。???代表的是业务组件项目名字。
upm文件里面的内容是:
<?xml version="1.0" encoding='gbk'?>
<module name="bustest">
  <public>
        <!-- 接口 -->
                    <component priority="0" singleton="true" remote="true" tx="CMT" supportAlias="true">
              <interface>nc.itf.bustest.IBUSTRefQueyService</interface>
              <implementation>nc.impl.bustest.BUSTRefQueyServiceImpl</implementation>
            </component>

  </public>
</module>
使用道具 举报

回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于我们
联系我们
  • 电话:010-86393388
  • 邮件:udn@yonyou.com
  • 地址:北京市海淀区北清路68号
移动客户端下载
关注我们
  • 微信公众号:yonyouudn
  • 扫描右侧二维码关注我们
  • 专注企业互联网的技术社区
版权所有:用友网络科技股份有限公司82041 京ICP备05007539号-11 京公网网备安1101080209224 Powered by Discuz!
快速回复 返回列表 返回顶部