File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in Externalizing the Configuration

sweety mehra
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am externalizing the configuration properties in Spring by using a seperate properties file.""
and then I configure the following bean in my bean wiring file:

<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<bean id="receive" class="package1.package2.utility.receive" abstract="false" singleton="false" lazy-init="default" autowire="default" dependency-check="default">
<property name="Url">

But on deploying this war on WebLogic 8 .I am getting following problem : start() failed. Module: ITdata Error: Could not load properties; nested exception is Could not open ServletContext resource [/] - with nested exception: [ Could not open ServletContext resource [/]]

Should i put under src or inWebrrot/web-inf/classes?
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic