Solved

VAJ 3.5.3 - Can't find properties file

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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.

830 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