情景1
我正在遵循official documentation中描述的步骤,以便
问题在于,无论我尝试使用默认上下文根(xyz-webapp),还是将其修改为/,仍然http://localhost:8080/会出现404错误,但在文档之后我应该进入安装页面。我做错了什么?
我正在使用
答案 0 :(得分:1)
发现这个旧的official screencast正在完成我之后所做的事情。在第一个场景中,我在问题中提到了Eclipse中的maven原型模块。现在我关注了视频,所以我只使用mvn来设置项目:
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=https://nexus.magnolia-cms.com/content/groups/public/
mvn war:inplace
现在将其导入Eclipse后,有一些事情要解决
error unpacking magnolia-empty-webapp-5.6.war
我尝试过多次运行maven更新,不确定是否解决了这个问题,但我不能再这样了。"...\templateModule\src\main\resources\META-INF\magnolia\module.dtd (The system cannot find the file specified)" that is specified as describing the syntax of the file cannot be located. templateModule.xml /templateModule/src/main/resources/META-INF/magnolia line 2 XML Problem
<!DOCTYPE module SYSTEM "module.dtd" >
ERROR info.magnolia.init.MagnoliaServletContextListener : Oops, Magnolia could not be started
info.magnolia.module.model.reader.ModuleDependencyException: The following exceptions were found while checking Magnolia modules dependencies (i.e. those in META-INF/magnolia/my-module.xml):
Module Magnolia Admincentral (version 5.6.0) is dependent on imaging (version 3.4/*), which was not found.
/templateModule/pom.xml
现在按预期启动。