File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
can't find correct classpath for the required properties file
Joined: Mar 09, 2006
Aug 01, 2007 02:55:00
As I've been trying to make something like:
propFile = new
but the compiler keeps complain:
: class path resource [src/props/myProperties.txt] cannot be opened because it does not exist
Any suggestion about the thing/article/stuff to read on, and then I can obtain sharp understanding to get it done myself?
Joined: Apr 11, 2007
Aug 01, 2007 03:46:00
try something like
to know where you program is trying to read the file from.
[ August 01, 2007: Message edited by: Gaurav Faujdar ]
I agree. Here's the link:
subject: can't find correct classpath for the required properties file
I want to use java properties from an interface
how to call property file ?
difference b/w absolute path and relative paths
Unable to load properties file in Java using eclipse
Reading usersnames/passwords from file for database access
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014