用友nc65开发报错:xxx is not found in jndi please deploy it!} jndiName: xxx
错误如下:
ERROR -
nc.ui.pub.beans.wizard.WizardException:nc.bs.framework.exception.ComponentNotFoundException: Component:
nc.itf.fdc_crmbd.IlesseeMaintain,Detail Message: The tx component:
nc.itf.fdc_crmbd.IlesseeMaintain is not found in jndi please deploy
it!} jndiName: nc.itf.fdc_crmbd.IlesseeMaintain meta: null
这是由于 upm文件没有配置,导致该接口无法加载,报null。
解决如下:加入以下代码:
<?xml version="1.0" encoding='gb2312'?>
<module name="fdc_crmbd">
<public>
<component remote="true" singleton="true" tx="CMT">
<interface>nc.itf.fdc_crmbd.IlesseeMaintain</interface>
<implementation>nc.impl.fdc_crmbd.LesseeMainainImpl</implementation>
</component>
</public>
</module>