Solved

VAJ 3.5.3 - Can't find properties file

Posted on 2001-07-18
2
219 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Title # Comments Views Activity
Adding multiple JVM environments to RedHat 6 7 81
Java 8 to Java 6 8 41
Strange router problem - can't access hotmail.com 14 108
Eclipse neon2 "Java build path" correctness 7 43
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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 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:
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.
Suggested Courses

737 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