Hi Lalith,

I think that article is over 3 years old and was for Magnolia 4.4 instead, 
[url=http://documentation.magnolia-cms.com/display/DOCS/10.+Migrate+from+4.5+to+5.2#id-10Migratefrom45to52-MigrateDMStoDAM]for
 example[/url] module magnolia-dam has replaced the magnolia-module-dms module 
so you don't need both.

That said, I did try the project archetype and that didn't work out of the box 
either!  There are some problems with the pom / war dependencies in that 
building from the empty-webapp should pull in exactly the same lib files as the 
downloaded war from sourceforge.  Furthermore pulling in the 
standard-templating-kit then causes Magnolia not to start with a different 
error too!  The latter looks like it is caused by standard-templating-kit 
pulling in an old version of the form module.

The following seems to work though, please try changing your dependencies 
section to be ONLY the following:
[code]
  <dependencies>
    <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>info.magnolia</groupId>
      <artifactId>magnolia-module-legacy-admininterface</artifactId>
      <version>5.2.2</version>
    </dependency>
    <dependency>
      <groupId>info.magnolia</groupId>
      <artifactId>magnolia-module-standard-templating-kit</artifactId>
      <version>2.7.2</version>
       <type>jar</type>
    </dependency>
    <dependency>
      <groupId>info.magnolia.dam</groupId>
      <artifactId>magnolia-dam</artifactId>
      <version>1.2.2</version>
    </dependency>
    <dependency>
      <groupId>info.magnolia</groupId>
      <artifactId>magnolia-module-form</artifactId>
      <version>2.2.2</version>
    </dependency>
  </dependencies>
[/code]

Note that for 5.2.2 magnolia-dam also needs to be 1.2.2 instead of 1.2.1.

Also before deploying the built war, ensure that the exploded war in webapps is 
deleted first (in your case delete the app1 directory).

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=b4e58627-8840-417a-b09e-75be986e3918


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to