Solved

VAJ 3.5.3 - Can't find properties file

Posted on 2001-07-18
2
205 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
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

776 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