Announcement Announcement Module

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions ( project, this forum has been decommissioned in favour of Spring Extensions one at:

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Costin Leau
SpringSource - Spring Training, Consulting, and Support - "From the Source"
See more
See less
getting the jcrtemplate example to run Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • getting the jcrtemplate example to run

    Hey all

    Im trying to use jcrtemplate to take care of our jcr access needs. I have the following configs

    <bean id="repository" class="org.springmodules.jcr.jackrabbit.TransientRepositoryFactoryBean">
      <!-- normal factory beans params -->
      		<property name="configuration" value="classpath:test-repository.xml"/>
      		<property name="homeDir" value="/repository"/>
    i get an exception saying

    classpath resource [repository] cannot be resolved to a URL because it does not exist.

    Shouldn't it be possible to configure a repository root outside of the classpath?