Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » problem reading property file from classpath
problem reading property file from classpath [message #98021] Mon, 22 September 2003 12:24
Eclipse UserFriend
Hi all, I have created a Java project by importing to eclipse some packages
I worked on in another editor [everything compiled and ran ok] . With in a
package exists a property file which one my classes finds using
getResourceAsStream( PROPERTIES_FILE);

Eclipse indicates it knows of all my classes on compliation but it throws a
null Pointer exception when trying to read the property file.

This is confusing because the propery file sits with the classes which are
clearly found on the class path.

Can anyone offer any advice

thank you
Previous Topic:vv
Next Topic:Build path entry is missing: TOMCAT_HOME
Goto Forum:
  


Current Time: Sun Jul 27 08:20:37 EDT 2025

Powered by FUDForum. Page generated in 0.08713 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top