Solved

VAJ 3.5.3 - Can't find properties file

Posted on 2001-07-18
2
228 Views
Last Modified: 2006-11-17
I have created an application that will log site activity into a DB2 table.

I am trying to read in the properties file and have placed my working directory.

I keep getting the following exception:

The user.dir is located at d:\program files\ibm\visualage for java\ide\project_resources\ECA_PSS error getting properties

Exception  d:\program files\ibm\visualage for java\ide\project_resources\ECA_PSS\DBServices.properties (The system cannot find the file specified)

java.io.FileNotFoundException: d:\program files\ibm\visualage for java\ide\project_resources\ECA_PSS\DBServices.properties (The system cannot find the file specified)

*************************************************

Any ideas on why this can't find the file?  It is located in d:\program files\ibm\visualage for java\ide\project_resources\ECA_PSS and it is name DBServices.properties

Thank you
0
Comment
Question by:kpetti
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
userquin earned 50 total points
ID: 6295156
Hi:

Select project name from left panel on which your property file must reside. Click right button and select import action. Check directory, Resource, search your property file only (java and classes not selected) and apply.

Bye.

J.
0
 

Author Comment

by:kpetti
ID: 6299887
That actually wasn't the problem, but by me going through your steps and including the resource file, it asked if I wanted to overwrite DBServices.properties.txt (There was already that resource file included in that direcory but it was not a properties file because the extension got messed up in Notepad).

I am awarding you the points not because your answer is exactly the solution to my problem, but it helped me to realize that I been staring at my monitor too long and probably would still be trying to figure out what the problem was had I not gone through those steps.

Thank you.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question