Jan Haderka wrote:

----
2010-04-01 12:36:44,849 WARN
gnolia.content2bean.impl.Content2BeanProcessorImpl: can't resolve class
for node /modules/extended-templating-kit/config/sites/pip/mappings/dms
java.lang.ClassNotFoundException:
info.magnolia.module.dms.DMSURI2RepositoryMapping
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

bit far fetched, but ... can you check you have jcr.jar,
commons-lang.jar and slf4j.jar on your classpath too (classes from those
jars are loaded by the mapping. Failure to resolve those might lead to
failure to load the class).

I have these jars in WEB-INF/lib:

----
jcr-1.0.jar
commons-lang-2.5.jar
slf4j-api-1.5.11.jar
slf4j-log4j12-1.5.11.jar
----

Can you also check if you can instantiate this class directly from shell
script or from jsp?

Looks like this works. I ran this script using openutils-mgnlgroovy's
Groovy Shell:

----
def mapping = new info.magnolia.module.dms.DMSURI2RepositoryMapping()
mapping.setRepository("dms")
mapping.getRepository()
----

Which returns:

----
Script executed successfully. Return value is dms
----

Nils.

De informatie vervat in deze  e-mail en meegezonden bijlagen is uitsluitend 
bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie 
bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking 
van deze informatie aan derden is voorbehouden aan geadresseerde. De VPRO staat 
niet in voor de juiste en volledige overbrenging van de inhoud van een 
verzonden e-mail, noch voor tijdige ontvangst daarvan.

----------------------------------------------------------------
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