error when running the application

2012-10-05
2013-04-06
  • Hello,
    I downloaded the source code of the application in SVN but when I run I get the following exception:

    Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name TimeSlotTracker, locale pt_BR
    at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
    at java.util.ResourceBundle.getBundle(Unknown Source)
    at net.sf.timeslottracker.Starter.<init>(Starter.java:131)
    at net.sf.timeslottracker.Starter.main(Starter.java:547)

    Anyone been through this?
    I tried to run the builder.xml also put the same error occurs:

    Thank you in advance

     
  • Solution:

    locale = Locale.ENGLISH;
        messages = ResourceBundle.getBundle("net.sf.timeslottracker.TimeSlotTracker", locale);
       
    Copy TimeSlotTracker_en.properties for net.sf.timeslottracker and rename TimeSlotTracker.properties