Results 1 to 2 of 2

Thread: ClassNotFoundException with PropertyPlaceConfigurer

  1. #1
    Join Date
    Jul 2007
    Posts
    1

    Default ClassNotFoundException with PropertyPlaceConfigurer

    Hi, trying to instantiate a FileSystemXmlApplicationContext with a file that contains the following bean definition:

    <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.Pr opertyPlaceholderConfigurer">
    <property name="location">
    <value>maxdresource.properties</value>
    </property>
    </bean>



    This leads to a ClassNotFoundException with PropertyPlaceholderConfigurer being not found. If I include directly in code before instantiating the FileSystemXmlApplicationContext an instantiation of PropertyPlaceholderConfigurer it gives no problem at compile-time or runtime, showing the class is indeed on my classpath, so not sure what's different at run time including it in a bean definition. This is with version 2.0.3, any clues about what else I could try with it?


    Thanks

  2. #2
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    Is it possible to see the stacktrace?
    Last edited by karldmoore; Aug 27th, 2007 at 04:35 PM.
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •