我在webapp中的Pom文件中导入了magnolia-module-standard-templating-kit maven依赖项。它的版本是2.3.0,木兰版本是5.3。在构建和运行Tomcat服务器并启动安装模块之后,我遇到了以下故障:
Magnolia Data Module (version 2.3.0)
Could not install or update data module. Task 'Data AppLauncher group ordering' failed. (PathNotFoundException: /modules/ui-admincentral/config/appLauncherLayout/groups/data)pom.xml:
<!-- Overlay Magnolia Empty Webapp. Alternatively, use the bundled-webapp or the enterprise-webapp. Dependencies versions are already imported by parent, so no need to replicate here. -->
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-empty-webapp</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-empty-webapp</artifactId>
<type>war</type>
</dependency>
<dependency>
<groupId>com.mycompany.projects</groupId>
<artifactId>myTemplateModule</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>info.magnolia.contacts</groupId>
<artifactId>magnolia-contacts</artifactId>
</dependency>
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-module-standard-templating-kit</artifactId>
</dependency>
有人能帮我解决这个问题吗?
发布于 2014-08-07 21:27:30
我成功地复制了您得到的异常,我认为问题在于添加依赖项和执行“开始安装”过程的顺序。
如果我首先使用magnolia空-webapp依赖项进行“启动安装”,然后停止服务器,将厚朴-模块-标准-模板-工具包添加到pom.xml中,然后执行另一个“启动安装”,我得到了例外:

但是,如果我从一开始就做了一个“开始安装”来指定所有的依赖项(stk和空webapp),那么我根本就没有异常。

我建议您为演示项目和pop主题添加这些依赖项。
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-theme-pop</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>info.magnolia</groupId>
<artifactId>magnolia-demo-project</artifactId>
<version>${project.version}</version>
</dependency>https://stackoverflow.com/questions/25143762
复制相似问题