Hi Jörg,

looks like you just have a mismatch of stk-versions within you configuration: I 
assume your module descriptor has a dependency section like

    <dependency>
      <name>standard-templating-kit</name>
      <version>1.4.1</version>
    </dependency>

where as the maven dependencies of 4.4.2 now deliver stk version 1.4.2 for you 
web-app. Dependency check upon startup detects you're not using the desired 
version and hence complains. Should be enough to adapt the stk-dependency in 
your module descriptor to <version>1.4.2</version> or maybe something like 
<version>1.4/*</version>.

For more details check 
http://documentation.magnolia-cms.com/reference/module-mechanism.html

HTH
- Dan

On Jan 31, 2011, at 7:53 PM, Jörg Schaible wrote:

> 
> Hi,
> 
> playing with Magnolia 4.4.1 and STK 1.4.1 I strated to create an own theme 
> module. Since we have now Magnolia 4.4.2 and STK 1.4.2 I setup the projects 
> (webapp and theme module) from scratch to be able to build with Maven.
> 
> However, starting the new webapp now (based on empty Magnolia 4.4.2 with STK 
> 1.4.2), I get the following exception:
> 
> ============== %< ==============
> 2011-01-31 19:41:42,274 ERROR 
> fo.magnolia.cms.beans.config.PropertiesInitializer: Module Magnolia 
> Musikgalerie Theme Module (version 1.0.0-SNAPSHOT) is dependent on standard-
> templating-kit version 1.4.1, but Magnolia Standard Templating Kit (version 
> 1.4.2) is currently installed.
> 31.01.2011 19:41:42 org.apache.catalina.core.StandardContext listenerStart
> SCHWERWIEGEND: Exception sending context initialized event to listener 
> instance of class info.magnolia.cms.servlets.MgnlServletContextListener
> java.lang.RuntimeException: 
> info.magnolia.module.model.reader.ModuleDependencyException: Module Magnolia 
> Musikgalerie Theme Module (version 1.0.0-SNAPSHOT) is dependent on standard-
> templating-kit version 1.4.1, but Magnolia Standard Templating Kit (version 
> 1.4.2) is currently installed.
>       at 
> info.magnolia.cms.beans.config.PropertiesInitializer.loadAllModuleProperties(PropertiesInitializer.java:153)
>       at 
> info.magnolia.cms.beans.config.PropertiesInitializer.loadAllProperties(PropertiesInitializer.java:119)
>       at 
> info.magnolia.cms.servlets.MgnlServletContextListener.contextInitialized(MgnlServletContextListener.java:192)
>       at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
>       at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
>       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> ============== %< ==============
> 
> The reason seems clear. The bootstrap data somewhere contains the old version 
> of the STK to pin the version the theme was based on, but how can I deal now 
> with the situation?
> 
> - Jörg
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



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

Reply via email to