[seam-issues] [JBoss JIRA] Commented: (SEAMINTL-27) ClassNotFoundException for org.joda.time.DateTimeZone

Craig Ringer (JIRA) jira-events at lists.jboss.org
Thu Mar 24 09:45:45 EDT 2011


    [ https://issues.jboss.org/browse/SEAMINTL-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591561#comment-12591561 ] 

Craig Ringer commented on SEAMINTL-27:
--------------------------------------

I'm still seeing this failure with Seam International CR2. While I landed up using it via Faces, not Security, it's the same issue with International at root.

I've put together a minimal test case app (just a pom.xml and web.xml, not even any Java code) to demonstrate the issue. See:

  https://github.com/ringerc/scrapcode/tree/master/testcases/javaee/glassfish31-seam-international-deploy

The pom requests seam-international 3.0.0.CR2 , which is the fixed-in version listed here, but still fails to deploy with:


SEVERE: Class [ org/joda/time/DateTimeZone ] not found. Error while loading [ class org.jboss.seam.international.datetimezone.DefaultDateTimeZoneProducer ]
SEVERE: Class [ org/joda/time/DateTimeZone ] not found. Error while loading [ class org.jboss.seam.international.datetimezone.DefaultDateTimeZoneProducer ]
SEVERE: Exception while loading the app
SEVERE: Exception while loading the app : org/joda/time/DateTimeZone
java.lang.ClassNotFoundException: org.joda.time.DateTimeZone
	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1518)
        ... etc

Full exception here: https://github.com/ringerc/scrapcode/blob/master/testcases/javaee/glassfish31-seam-international-deploy/README.txt

To reproduce the issue:

git clone git://github.com/ringerc/scrapcode.git
cd scrapcode/testcases/javaee/glassfish31-seam-international-deploy/
mvn clean install
asadmin deploy --contextpath justtesting target/glassfish31-seam-international-deploy.war

> ClassNotFoundException for org.joda.time.DateTimeZone
> -----------------------------------------------------
>
>                 Key: SEAMINTL-27
>                 URL: https://issues.jboss.org/browse/SEAMINTL-27
>             Project: Seam International
>          Issue Type: Bug
>          Components: Time zones
>    Affects Versions: 3.0.0.Beta2
>         Environment: OS X, Glassfish v3.2b42, Java 1.6
>            Reporter: Aaron Siri
>            Assignee: Ken Finnigan
>             Fix For: 3.0.0.CR2
>
>
> When attempting to use Seam 3 Security beta 2 on a stock Glassfish v3 environment I get an CNF for org.joda.time.DateTimeZone
> SEVERE: Class [ org/joda/time/DateTimeZone ] not found. Error while loading [ class org.jboss.seam.international.datetimezone.DefaultDateTimeZoneProducer ]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list