"org.eclipse.emf.ecore.EObject not found" 从 Intershop 7.7 更新到 7.9 后

"org.eclipse.emf.ecore.EObject not found" after update from Intershop 7.7 to 7.9

我刚刚将一个项目从 Intershop Commerce Management 7.7 更新到 7.9,一切顺利,除了我现在遇到一个编译错误:

...\app_sf_responsive\javasource\com\intershop\application\responsive\internal\preview\call\CMSPageCallInterface.java:54: error: cannot access EObject
        for(Parameter p : PageletModelUtils.INSTANCE.getCallParameterDefinitions(app.getExtension(ApplicationBOPageletModelRepository.class), cepd))
                                                    ^
  class file for org.eclipse.emf.ecore.EObject not found

我是否遗漏了一些迁移步骤?

您收到此错误是因为缺少编译依赖项。您需要将以下语句插入 build.gradle 文件的依赖闭包中:

依赖项 { ... 编译 'org.eclipse.emf:org.eclipse.emf.common' 编译 'org.eclipse.emf:org.eclipse.emf.ecore' ... }

希望对您成功完成迁移任务有所帮助。