Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-2901

seam generate-entities throws java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP 5.0.0.CR5
    • EAP 5.0.0.CR4 (FCS and BETA2)
    • Seam
    • None

      Customer is seeing the following after attempting to generate-entities with Seam, I have verified this exception happens only in Windows, not in Linux.

      C:WINNTsystem32>seam generate-entities
      SEAM_HOME: C:Developmentjboss-eap-5.0seam
      Using seam-gen sources from: C:Developmentjboss-eap-5.0seamseam-gen
      Buildfile: C:Developmentjboss-eap-5.0seamseam-genbuild.xml

      init:

      init-properties:
      [echo] c:/Development/jboss-eap-5.0/jboss-as

      validate-workspace:

      validate-project:

      init-generate:

      generate-model:
      [echo] Reverse engineering database using JDBC driver C:/Development/mysql-connector-java-5.1.7/mysql-connector-java-5.1.7-bin.jar
      [echo] project=C:/Development/projects/assetts
      [echo] model=dne.nib.assettags.model
      [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
      [hibernate] 1. task: hbm2java (Generates a set of .java files)

      BUILD FAILED
      C:Developmentjboss-eap-5.0seamseam-genbuild.xml:1375: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

      Total time: 2 seconds

      C:WINNTsystem32>

              mnovotny@redhat.com Marek Novotny
              sjmenden_jira Samuel Mendenhall (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: