[seam-dev] org.jboss.seam.faces 3.0.0.Final problems
Dan Allen
dan.j.allen at gmail.com
Thu Mar 31 11:58:59 EDT 2011
On Thu, Mar 31, 2011 at 11:40, Sebastian E. Ovide <sebastian.ovide at gmail.com
> wrote:
> Hi All,
>
> I've just updated my pom replacing 3.0.0.Alpha3 with 3.0.0.Final and I've
> got a couple of errors.
>
> I've fixed the first error just adding
>
> <dependency>
> <groupId>joda-time</groupId>
> <artifactId>joda-time</artifactId>
> <version>1.6.2</version>
> </dependency>
>
>
> is is ok to define seam dependencies manually ? should not that dependency
> been part of seam ?
>
Absolutely you can define dependencies manually. The seam-bom is there to
save you from having to worry about the versions (and for us to communicate
the recommended versions). Joda time is in the seam-bom:
<properties>
...
<joda.time.version>1.6</joda.time.version>
...
</properties>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${joda.time.version}</version>
</dependency>
>
> the second error that I'm getting is
>
> org.glassfish.deployment.common.DeploymentException:
> java.lang.NoClassDefFoundError: Lorg/jboss/logmanager/Logger$AttachmentKey;
> at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:167)
> at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:125)
> at
> org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:224)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>
>
> any ideas ?
>
> (using Glassfish 3.0)
>
You can't use Seam 3 on GlassFish for reasons explained here
http://seamframework.org/Seam3/Compatibility. GlassFish 3.0 just has too
many compliance issues that are out of our hands. We recommend moving to 3.1
with the latest Weld snapshot. The instructions for updating Weld are on
that page.
-Dan
--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://www.google.com/profiles/dan.j.allen#about
http://mojavelinux.com
http://mojavelinux.com/seaminaction
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20110331/369e2cab/attachment.html
More information about the seam-dev
mailing list