2 Replies Latest reply on Nov 2, 2007 11:59 AM by hiasi29

    Seam blog example

    hiasi29

      Hi,
      I have created an seam project skeleton via seam-gen and copied the .java sources of the blog example into the relevant packages. Then I have updated the ear target of the build file with

      <include name="lib/jboss-system*.jar" />
      <include name="lib/jboss-jmx*.jar" />
      <include name="lib/hibernate-search*.jar" />
      <include name="lib/jgroups*.jar" />
      

      But I still keep getting a
      java.lang.RuntimeException: Could not create Component: postAction
      Caused by: java.lang.NoClassDefFoundError: org/jgroups/MembershipListener
      when I try to deploy it. Can somebody tell me what's missing?
      Thanks in advance!
      Matthias


        • 1. Re: Seam blog example
          thejavafreak

          Try adding jgroups into JBoss AS classpath directory.

          • 2. Re: Seam blog example
            hiasi29

            Hi Joshua,
            Thanks a lot, this did indeed solve the Classnotfound exception! I finally managed to deploy the whole example in eclipse without any exceptions, but it didn't quite look the same as deployed via the build.xml that comes with it.
            It seems that there would be quite some configuration work left in eclipse.
            BR
            Matthias