Bookmark Topic Watch Topic
  • New Topic

properties file not found  RSS feed

 
vinay ravaranch
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have a java project which is running properly.

Inside this java projects in one of the packages there is a properties file.

When I make this java project into a jar and am trying to run the program, I am getting an error properties file not found.
 
Ajay Singh
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Report post to moderator
May be you are not reading the properties file from classloader. Can you post your code?
 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Report post to moderator
"vinay ravaranch", please read the important administrative private message I just sent you.
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please refrain from crossposting in multiple JavaRanch forums.

CarefullyChooseOneForum

Duplicate post is here.
 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Report post to moderator
Originally posted by Peer Reynders:
Please refrain from crossposting in multiple JavaRanch forums.


I hadn't noticed that; thank you for pointing it out. Closing thread.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!