Reputation: 468
Scenario 1
I am following the steps described in the official documentation, so that
The problem is that whether I try with default context root (xyz-webapp), or modify it to /, still http://localhost:8080/ gives 404 error but after the docs I should be getting to the install page. What am I doing wrong?
I'm using
Upvotes: 0
Views: 532
Reputation: 468
Found this old but official screencast which is doing exactly what I'm after. In the first scenario, presented in the question I added the maven archetype modules from Eclipse. Now I followed the video, so I used only mvn to set up the project with:
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=https://nexus.magnolia-cms.com/content/groups/public/
mvn war:inplace
Now after importing this to Eclipse there were some things to resolve
error unpacking magnolia-empty-webapp-5.6.war
I tried to run maven update few times, not sure if this resolved it but I don't get this anymore."...\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
Now it starts up as expected.
Upvotes: 1