<div class="gmail_quote">On Thu, Mar 31, 2011 at 11:40, Sebastian E. Ovide <span dir="ltr">&lt;<a href="mailto:sebastian.ovide@gmail.com" target="_blank">sebastian.ovide@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi All,<br><br>I&#39;ve just updated my pom replacing 3.0.0.Alpha3 with 3.0.0.Final and I&#39;ve got a couple of errors.<br><br>I&#39;ve fixed the first error just adding <br><br>        &lt;dependency&gt;<br>            &lt;groupId&gt;joda-time&lt;/groupId&gt;<br>




            &lt;artifactId&gt;joda-time&lt;/artifactId&gt;<br>            &lt;version&gt;1.6.2&lt;/version&gt;<br>        &lt;/dependency&gt;<br><br><br>is is ok to define seam dependencies manually ? should not that dependency been part of seam ?<br>


</blockquote><div><br></div><div>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:</div>

<div><br></div><div>&lt;properties&gt;</div><div>...</div><div>&lt;joda.time.version&gt;1.6&lt;/joda.time.version&gt;</div><div>...</div><div>&lt;/properties&gt;</div><div><br></div><div><div>         &lt;dependency&gt;</div>

<div>            &lt;groupId&gt;joda-time&lt;/groupId&gt;</div><div>            &lt;artifactId&gt;joda-time&lt;/artifactId&gt;</div><div>            &lt;version&gt;${joda.time.version}&lt;/version&gt;</div><div>         &lt;/dependency&gt;</div>

</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>the second error that I&#39;m getting is <br><br>org.glassfish.deployment.common.DeploymentException: java.lang.NoClassDefFoundError: Lorg/jboss/logmanager/Logger$AttachmentKey;<br>        at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:167)<br>




        at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:125)<br>        at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:224)<br>        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)<br>




        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)<br clear="all"><br><br>any ideas ?<br><br>(using Glassfish 3.0)<br></blockquote><div><br></div><div>You can&#39;t use Seam 3 on GlassFish for reasons explained here <a href="http://seamframework.org/Seam3/Compatibility" target="_blank">http://seamframework.org/Seam3/Compatibility</a>. 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.</div>

<div><br></div><div>-Dan</div><div><br></div></div>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><div><a href="http://www.google.com/profiles/dan.j.allen#about" target="_blank">http://www.google.com/profiles/dan.j.allen#about</a><br>


<a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br></div><br>