[seam-issues] [JBoss JIRA] (JBSEAM-4978) Seam-gen commands using hibernate-tools doesn't work

Marek Novotny (JIRA) jira-events at lists.jboss.org
Fri Jun 8 08:38:17 EDT 2012

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

Marek Novotny commented on JBSEAM-4978:

version 3.2.4.GA
> Seam-gen commands using hibernate-tools doesn't work
> ----------------------------------------------------
>                 Key: JBSEAM-4978
>                 URL: https://issues.jboss.org/browse/JBSEAM-4978
>             Project: Seam 2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.3.0.BETA2
>            Reporter: Tomas Remes
>            Assignee: Marek Novotny
>              Labels: seam-gen
>             Fix For: 2.3.0.CR1
>         Attachments: hibernate-tools.jar
> Seam-gen commands like "generate-model","generate", "generate-ui" does not work, because it's using old hibernate-tools version. Major problem is that this old version is using classes from hibernate-core 3.2.4 (and probably many other jars)  and those are not compatible with hibernate 4 versions. So when you try for example command "generate-model", you will get following error:
> {noformat}
> jboss-seam-2.3.0.CR1-SNAPSHOT/seam-gen/build.xml:1554: java.lang.NoClassDefFoundError: org/hibernate/engine/Mapping
> {noformat}
> I am trying/investigating how is this used in JBoss Tools, but as far as I've understood there is entirely bundled old hibernate 3 and its related stuff.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list