Dynamic Resource Bundle Troubleshooting
If you have upgraded from an older CMS version, during start up you might see something like the following warning:
09.12.2013 16:25:54 WARN EventListenersContainerSessionChecker-1 [EventListenersContainerImpl.doInit:198] Failed to register event listener 'org.hippoecm.hst.resourcebundle. internal.HippoRepositoryResourceBundleEventListener@a6bdf5b': javax.jcr.nodetype.NoSuchNodeTypeException: resourcebundle:resourcebundle
This warning is caused by a missing dependency in the cms webapp on
<groupId>org.onehippo.cms7.hst.components</groupId> <artifactId>hst-resourcebundle-cnd</artifactId>
When you have this warning, support for HST Dynamic Resource Bundle won't be available. Fixing the problem is as simple as including the above dependency.
To avoid these kind of problems in the future, an even better fix would be to remove all the hst repository dependency from the cms webapp and replace them with:
<dependency> <groupId>org.onehippo.cms7.hst.dependencies</groupId> <artifactId>hst-repository-dependencies</artifactId> <type>pom</type> </dependency>
This way you'll always have all required hst repository dependencies included.