部署了二开元数据web业务页面打开报错
1、问题描述
客户二开业务元数据部署后报错,报错信息为
java.lang.RuntimeException: Can't find logic key, check whether entity exist and config logic key. entity:com.kingdee.eas.fdz.huobandangan.app.Huobanzuzhi at: com.kingdee.bos.metadata.entity.EntityObjectInfo.getLogicalKeyPropertiesRuntime(EntityObjectInfo.java:326) at: com.kingdee.bos.metadata.entity.RelationshipInfo.getLogicalKeyProperty(RelationshipInfo.java:208) at: com.kingdee.bos.metadata.entity.RelationshipInfo.innerGetSupplierProperty(RelationshipInfo.java:239) at: com.kingdee.bos.metadata.entity.RelationshipInfo.getSupplierProperty(RelationshipInfo.java:226) at: com.kingdee.bos.metadata.entity.RelationshipInfo.getChildProperty(RelationshipInfo.java:443) at: com.kingdee.bos.dao.ormapping.impl.SQLGeneratorImpl.getLinkFieldClause(SQLGeneratorImpl.java:520) at: com.kingdee.bos.dao.ormapping.impl.SQLGeneratorImpl.getColClause(SQLGeneratorImpl.java:491) at: com.kingdee.bos.dao.ormapping.impl.SQLGeneratorImpl.innerGetSQL(SQLGeneratorImpl.java:248) at: com.kingdee.bos.dao.ormapping.impl.SQLGeneratorImpl.innerSelectSQL(SQLGeneratorImpl.java:155) at: com.kingdee.bos.dao.ormapping.impl.SQLGeneratorImpl.selectSQL(SQLGeneratorImpl.java:92) at: com.kingdee.bos.dao.ormapping.impl.SQLGeneratorCache.selectSQL(SQLGeneratorCache.java:103) at: com.kingdee.bos.dao.ormapping.impl.EntityAccess.select(EntityAccess.java:378) at: com.kingdee.bos.dao.ormapping.impl.ObjectReader.innerSelect(ObjectReader.java:321) at: com.kingdee.bos.dao.ormapping.impl.ObjectReader.select(ObjectReader.java:145) at: com.kingdee.bos.dao.ormapping.ORMappingDAO.innerGetCollection(ORMappingDAO.java:819) at: com.kingdee.bos.dao.ormapping.ORMappingDAO.innerGetCollection(ORMappingDAO.java:752) at: com.kingdee.bos.dao.ormapping.ORMappingDAO.getCollection(ORMappingDAO.java:683) at: com.kingdee.bos.framework.ejb.AbstractEntityControllerBean.innerGetCollection(AbstractEntityControllerBean.java:761) at: com.kingdee.eas.framework.app.AbstractCoreBaseControllerBean._getCollection(AbstractCoreBaseControllerBean.java:341) at: com.kingdee.eas.framework.app.AbstractObjectBaseControllerBean._getCollection(AbstractObjectBaseControllerBean.java:164) at: com.kingdee.eas.framework.app.AbstractDataBaseControllerBean._getCollection(AbstractDataBaseControllerBean.java:241) at:
2、原因分析
该问题分析为客户迁移新环境后报错,对比迁移前环境的文件,分析问题所在原因。
客户元数据包部署在fileserver/webClient,该路径在web工程是加载不了的,web工程的元数据一般需部署在eas\Server\server\metas\sp,因此对比了迁移前后的环境该路径,发现是缺少迁移该路径导致。
3、解决
迁移eas\Server\server\metas\sp重启服务器即可,客户端需更新
部署了二开元数据web业务页面打开报错
本文2024-09-22 20:02:41发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-111095.html