Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8938285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:35:25+00:00 2026-06-15T10:35:25+00:00

I am using a property place holder to reference a file, it works when

  • 0

I am using a property place holder to reference a file, it works when deployed, but intellij is not picking up the catalina home. I have tried setting windows environment varibale and path in intellij ide settings, makes no difference still shows an error (which borks my datasource in the ide) I could place the conf file in project directory instead, but then the project will not be portable to other tomcat installs without further jiggery pokery ….

Darcula oo eerr, catalina home is a problem

Surely there is a way that intellij will recognize and reference correctly ${catalina.home} within my spring application context ?

Sys variable is set up ok :

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T10:35:26+00:00Added an answer on June 15, 2026 at 10:35 am

    Apparently this is an open bug. However the workaround for me is to simply copy the properties file into project workspace (in my case the resources direcrtory), but keep the applicationContext.xml pointing at ${catalina.home}.

    Intellij then picks up the property values and then the datasource can be set up easily.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a property file and using Spring property place holder, I set values
I want to fill a bean list property using Spring properties place holder. Context
I'm using Java Property files and would like to have a newline character put
How can I have the property of a property set using NHibernate? Here is
I have a problem with CSS3 property for using my own fonts @font-face. In
I have a class which I want to add a property with using formula
Using Roo, and I've got a property called 'imagesBaseDir' in a property file called
I have the following property file defined in one of my Spring (3.1) XMLs:
The place holder text for the Label property is 'Xcode Specific Label', which when
I'm reading properties file using context:property-placeholder . How can I access them programatically (

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.