欢迎使用普元产品知识库,本知识库包含普元应用开发平台EOSPlatform,流程平台BPS,企业服务总线ESB,微服务平台Microservice,运维管理平台Devops,数据集成平台DI
欢迎使用普元文档库
构建包重构之后,里面的包名没有变,项目启动报错: java.lang.RuntimeException: 重复的数据集, 名称空间为'com.zhjy.common.installation.installationdataset'.
构建包重构后:
启动报错:
java.lang.RuntimeException: 重复的数据集, 名称空间为'com.zhjy.common.installation.installationdataset'.
at com.primeton.cap.spi.dataset.model.ERDiagramRepository.addERDiagram(ERDiagramRepository.java:55)
at com.primeton.cap.impl.dataset.service.loader.AbstractDatasetModelLoader.load(AbstractDatasetModelLoader.java:58)
at com.primeton.runtime.resource.impl.ResourceNotify.resourceNotify(ResourceNotify.java:241)
at com.primeton.runtime.resource.impl.ResourceNotify.notifyResource(ResourceNotify.java:90)
at com.primeton.runtime.resource.impl.ApplicationResourceLoaderManager.loadApplicationResource(ApplicationResourceLoaderManager.java:38)
at com.primeton.ext.runtime.resource.startup.ResourceLoaderStartUpListener.start(ResourceLoaderStartUpListener.java:36)
at com.primeton.runtime.core.impl.RuntimeListenerManagerImpl.startListener(RuntimeListenerManagerImpl.java:43)
at com.primeton.ext.runtime.core.RuntimeManager.start(RuntimeManager.java:55)
at com.primeton.ext.runtime.core.RuntimeJ2EEHost.contextInitialized(RuntimeJ2EEHost.java:52)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
1、构件包名字重命名后,下面的逻辑流、逻辑构件名字本来就不会随着改变。
2、构件包下的实体删除重建后,启动server没有再出现异常