What version of jdk are you using? Are you running from the jar file?
Have you checked the jar file to see if the source is in there?
brad scarlett wrote:
I hope this is the correct place to post this. I recently installed
v1.2.1 of joda-time, and created a quick test of the IslamicCalendar.
However, it throws an exception due to a missing resource in
joda-time. Below is the code snippet, and the exception. In my
install there is no folder entitled 'data' in the 'tz' folder.
How can I correct this, or ...??
thanks,
brad
--------------------------------
DateTime dtISO = new DateTime();
DateTime dtIslamic =
dtISO.withChronology(IslamicChronology.getInstance());
--------------------------------
Exception in thread "main" _java.io.IOException_: Resource not found:
"org/joda/time/tz/data/ZoneInfoMap" ClassLoader:
[EMAIL PROTECTED]
at
org.joda.time.tz.ZoneInfoProvider.openResource(_ZoneInfoProvider.java:206_)
at org.joda.time.tz.ZoneInfoProvider.<init>(_ZoneInfoProvider.java:123_)
at org.joda.time.tz.ZoneInfoProvider.<init>(_ZoneInfoProvider.java:82_)
at org.joda.time.DateTimeZone.getDefaultProvider(_DateTimeZone.java:435_)
at org.joda.time.DateTimeZone.setProvider0(_DateTimeZone.java:389_)
at org.joda.time.DateTimeZone.<clinit>(_DateTimeZone.java:113_)
at
org.joda.time.chrono.GregorianChronology.<clinit>(_GregorianChronology.java:74_)
at org.joda.time.chrono.ISOChronology.<clinit>(_ISOChronology.java:66_)
at org.joda.time.base.BaseDateTime.<init>(_BaseDateTime.java:61_)
at org.joda.time.DateTime.<init>(_DateTime.java:77_)
at
com.seattlesoftwarefactory.athanmobile.ui.athanmobile.main(_athanmobile.java:25_)
-----------------------------------------------------------
------------------------------------------------------------------------
Yahoo! Mail
Use Photomail
<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=38867/*http://photomail.mail.yahoo.com>
to share photos without annoying attachments.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest