After checking the source I found the answer.  The .properties files  
are missing in the bundled jar in your JSP Tags 1.0.1 binary  
downloads.  I added them manually and now everything works.

Tom

On Feb 13, 2008, at 10:22 AM, Tom Duffey wrote:

> I'm hoping this is something dumb on my end but so far can't figure it
> out.  I have a webapp w/Joda Time 1.5.1 and JSP Tags 1.0.1.  In my JSP
> I'm trying to use the joda:parseDateTime tag and get the following
> exception:
>
> java.lang.ExceptionInInitializerError
>       at
> org
> .joda
> .time
> .contrib
> .jsptag.ParseDateTimeSupport.doEndTag(ParseDateTimeSupport.java:140)
>       at
> org
> .apache
> .jsp
> .WEB_002dINF
> .jsp
> .shared
> .project
> .request
> .view_jsp._jspx_meth_joda_005fparseDateTime_005f0(view_jsp.java:10392)
>       at
> org
> .apache
> .jsp
> .WEB_002dINF
> .jsp
> .shared
> .project.request.view_jsp._jspx_meth_c_005fwhen_005f30(view_jsp.java:
> 10359)
>       at
> org
> .apache
> .jsp
> .WEB_002dINF
> .jsp
> .shared
> .project 
> .request.view_jsp._jspx_meth_c_005fchoose_005f11(view_jsp.java:
> 10230)
>       at
> org
> .apache
> .jsp
> .WEB_002dINF
> .jsp
> .shared
> .project
> .request.view_jsp._jspx_meth_c_005fforTokens_005f6(view_jsp.java: 
> 10185)
>       at
> org
> .apache
> .jsp
> .WEB_002dINF
> .jsp
> .shared
> .project
> .request.view_jsp._jspx_meth_hbhtml_005fevenOddTr_005f0(view_jsp.java:
> 10144)
>        ... <snip>
> Caused by: java.util.MissingResourceException: Can't find bundle for
> base name org.joda.time.contrib.jsptag.Resources, locale en_US
>       at
> java
> .util 
> .ResourceBundle.throwMissingResourceException(ResourceBundle.java:
> 1508)
>       at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1262)
>       at java.util.ResourceBundle.getBundle(ResourceBundle.java:717)
>       at org.joda.time.contrib.jsptag.Resources.(Resources.java:51)
>       ... 79 more
> Caused by: java.lang.ClassCastException:
> org.joda.time.contrib.jsptag.Resources cannot be cast to  
> ResourceBundle
>       at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java: 
> 2378)
>       at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1400)
>       at java.util.ResourceBundle.findBundle(ResourceBundle.java:1365)
>       at java.util.ResourceBundle.findBundle(ResourceBundle.java:1294)
>       at java.util.ResourceBundle.findBundle(ResourceBundle.java:1294)
>       at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1236)
>       ... 81 more
>
> I'm getting ready to look at the source for the JSP Tags project but
> thought I'd run this by the list in case someone else has seen it.
>
> Thanks,
>
> Tom
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Joda-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/joda-interest


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to