Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ResourceBundle

 
Costa Lamona
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I used some code to test ResourceBundle on my machine, it works fine. but when My patenter used the same code on his machine, it did not work...

I think this might be common JDK version problem, how to fix this?



Thanks
 
Kuladip Yadav
Ranch Hand
Posts: 162
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will you pz explain what happened with that code on your partner machine ?
Is it throwing exception or what ?
 
Rob Spoor
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kuldeep,

will you please UseRealWords?

Thanks.
 
Costa Lamona
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I totally forgot to tell about that, because I asked this question after the evidence a week, Sorry

Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name properites.myprop, locale en_US

Is there any chances that the file is exist but can't be read, because we are very sure it is the same file on my machine and it is the correct path on his machine.

Thanks
 
Kuladip Yadav
Ranch Hand
Posts: 162
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you check bundle name ?

your code use apctool.resources and
Exceptions points to properites.myprop








Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name properites.myprop, locale en_US
 
Kuladip Yadav
Ranch Hand
Posts: 162
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rob Prime:
Kuldeep,

will you please UseRealWords?

Thanks.



I am sorry about that.
Thank you for your suggestion.
In future I will take care of it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic