Solved

VAJ 3.5.3 - Can't find properties file

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
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 …

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now