bos开发工具中运行服务端和客户端,运行报错,请问是哪里报错,是缺少了metadata元数据吗
错误信息如下
Caused by: java.lang.RuntimeException: Can't find logic key, check whether entity exist and config logic key. entity:com.kingdee.eas.salary.app.PersonType
[Client -- String Serialize] ... 14 more at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:125)
at java.lang.reflect.Method.invoke(Method.java:619)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at sun.reflect.GeneratedMethodAccessor302.invoke(Unknown Source)
at com.kingdee.eas.framework.app.AbstractCoreBaseControllerBean.getValue(AbstractCoreBaseControllerBean.java:78)
at com.kingdee.eas.cssbSystem.sb.app.AbstractDeviceSystemControllerBean._getValue(AbstractDeviceSystemControllerBean.java:92)
at com.kingdee.eas.framework.app.AbstractBillBaseControllerBean._getValue(AbstractBillBaseControllerBean.java:95)
at com.kingdee.eas.framework.app.AbstractCoreBillBaseControllerBean._getValue(AbstractCoreBillBaseControllerBean.java:353)
at com.kingdee.eas.framework.app.AbstractObjectBaseControllerBean._getValue(AbstractObjectBaseControllerBean.java:68)
at com.kingdee.eas.framework.app.AbstractCoreBaseControllerBean._getValue(AbstractCoreBaseControllerBean.java:94)
at com.kingdee.bos.framework.ejb.AbstractEntityControllerBean.innerGetValue(AbstractEntityControllerBean.java:209)
at com.kingdee.bos.dao.ormapping.ORMappingDAO.getValue(ORMappingDAO.java:370)
at com.kingdee.bos.dao.ormapping.ORMappingDAO.innerGetValue(ORMappingDAO.java:433)
at com.kingdee.bos.dao.ormapping.ORMappingDAO.innerGetCollection(ORMappingDAO.java:754)
at com.kingdee.bos.dao.ormapping.impl.RTSelectorBuilder.buildSelfPropAndAllPKSelector(RTSelectorBuilder.java:214)
at com.kingdee.bos.dao.ormapping.impl.RTSelectorBuilder.buildSelfPropSelector(RTSelectorBuilder.java:197)
at com.kingdee.bos.dao.ormapping.impl.RTSelector.addProperty(RTSelector.java:145)
at com.kingdee.bos.dao.ormapping.impl.RTSelector.addAllProperties(RTSelector.java:246)
at com.kingdee.bos.metadata.entity.EntityObjectInfo.getLogicalKeyPropertiesRuntime(EntityObjectInfo.java:326)
Caused by: java.lang.RuntimeException: Can't find logic key, check whether entity exist and config logic key. entity:com.kingdee.eas.salary.app.PersonType ... 13 more
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_SUPPORTS(TxInvokerBean.java:64)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:161)
Caused by: java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean.
at com.kingdee.bos.rpc.impl.ThreadPool2$Worker.run(ThreadPool2.java:140)
at com.kingdee.bos.rpc.impl.ThreadJob.run(ThreadJob.java:27)
at com.kingdee.bos.rpc.impl.ServiceDispatcher.run(ServiceDispatcher.java:153)
at com.kingdee.bos.rpc.impl.RPCService.service(RPCService.java:139)
at com.kingdee.bos.rpc.impl.RPCService.serviceInvoke(RPCService.java:780)
at com.kingdee.bos.rpc.impl.ObjectProxy.processInvoke(ObjectProxy.java:177)
at rpc_generate._PROXY_com_1_kingdee_1_eas_1_cssbSystem_1_sb_1_IDeviceSystem.processInvoke(Unknown Source)
at rpc_generate._PROXY_com_1_kingdee_1_eas_1_cssbSystem_1_sb_1_IDeviceSystem.pi14(Unknown Source)
at com.kingdee.eas.framework.CoreBase.getValue(CoreBase.java:65) at com.sun.proxy.$Proxy564.getValue(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:179)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_SUPPORTS(Unknown Source)
at com.apusic.ejb.container.Component.postInvoke(Component.java:427)
at com.apusic.ejb.container.Container.postInvokeTx(Container.java:2184)javax.ejb.EJBException: Unexpected system failure, see server log for details.
Caused By: javax.ejb.EJBException at com.kingdee.bos.rpc.impl.ThreadPool2$Worker.run(ThreadPool2.java:140)
at com.kingdee.bos.rpc.impl.ThreadJob.run(ThreadJob.java:27)
at com.kingdee.bos.rpc.impl.ServiceDispatcher.run(ServiceDispatcher.java:153)
at com.kingdee.bos.rpc.impl.RPCService.service(RPCService.java:139)
at com.kingdee.bos.rpc.impl.RPCService.serviceInvoke(RPCService.java:780)
at com.kingdee.bos.rpc.impl.ObjectProxy.processInvoke(ObjectProxy.java:177)
at rpc_generate._PROXY_com_1_kingdee_1_eas_1_cssbSystem_1_sb_1_IDeviceSystem.processInvoke(Unknown Source)
at rpc_generate._PROXY_com_1_kingdee_1_eas_1_cssbSystem_1_sb_1_IDeviceSystem.pi14(Unknown Source)
at com.kingdee.eas.framework.CoreBase.getValue(CoreBase.java:65)
at com.sun.proxy.$Proxy564.getValue(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:246)
Caused exception message is: Unexpected system failure, see server log for details.
[Client -- String Serialize]错误详细堆栈信息:com.kingdee.bos.BOSException: Server Component wrap a Throwable. Exception Type is [javax.ejb.EJBException]Caused exception message is: Unexpected system failure, see server log for details.
[Client -- String Serialize]错误信息:Server Component wrap a Throwable. Exception Type is [javax.ejb.EJBException]
推荐阅读