nc65开发the exception to client nc.bs.framework.exception.ComponentNotFoundException

the exception to clientnc.bs.framework.exception.ComponentNotFoundException: Component: nc.itf.riaorg.IHcontrastMaintain,Detail Message: The tx component: nc.itf.riaorg.IHcontrastMaintain is not found in jndi please deploy it!} jndiName: nc.itf.riaorg.IHcontrastMaintain meta: nullat nc.bs.framework.server.AbstractContext.lookup(AbstractContext.java:167)at nc.bs.framework.server.AbstractContext.getComponentMetaVO(AbstractContext.java:391)at nc.bs.framework.server.BusinessAppServer$BusinessServerRemoteMetaContext.lookup(BusinessAppServer.java:1080)at sun.reflect.GeneratedMethodAccessor933.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)at java.lang.reflect.Method.invoke(Method.java:613)at nc.bs.framework.rmi.server.RMIHandlerImpl.invokeBeanMethod(RMIHandlerImpl.java:410)at nc.bs.framework.rmi.server.RMIHandlerImpl.doHandle(RMIHandlerImpl.java:177)at nc.bs.framework.rmi.server.RMIHandlerImpl.handle(RMIHandlerImpl.java:99)at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:45)


问题:单据生成模板时没有生成单据对应的upm文件,导致在本地可以运行,测试环境无法加载


解决方案:新增一个upm文件,将接口与实现类注册进去






nc.itf.riaorg.IHcontrastMaintain
nc.impl.riaorg.HcontrastMaintainImpl

/nc.itf.riaorg.IHcontrastMaintain









你可能感兴趣的:(nc65开发the exception to client nc.bs.framework.exception.ComponentNotFoundException)