[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3023) seam-gen generate-entities throws NoSuchMethodError on AnnotationConfiguration.setProperty

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Aug 7 07:32:50 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed JBSEAM-3023.
-----------------------------

    Resolution: Done


Downgrading to HEM 3.3.1 fixes this.

> seam-gen generate-entities throws NoSuchMethodError on AnnotationConfiguration.setProperty
> ------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3023
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3023
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.1.0.BETA1
>            Reporter: Jay Balunas
>            Assignee: Pete Muir
>            Priority: Blocker
>             Fix For: 2.1.0.BETA1
>
>
> This is effecting the current trunk - I have not verified if this is happening in 2.1.0.A1.  Below is the output from the console.  I saw this error both with and without the fix for JBSEAM-3017.  I quickly checked that the correct jars are in the lib, and should be loaded for the classpath in the seam-gen/build.xml.  There may be a new dependency or configuration needed.
> jar:
>      [copy] Copying 2 files to /jboss/temp/workspace/libtest3/exploded-archives/libtest3.jar
>      [copy] Copying 1 file to /jboss/temp/workspace/libtest3/exploded-archives/libtest3.jar/META-INF
>      [copy] Copying 1 file to /jboss/temp/workspace/libtest3/exploded-archives/libtest3.jar/META-INF
>      [copy] Copying 1 file to /jboss/temp/workspace/libtest3/exploded-archives/libtest3.jar
> [hibernate] Executing Hibernate Tool with a JPA Configuration
> [hibernate] 1. task: generic exportertemplate: view/list.xhtml.ftl
> [hibernate] May 22, 2008 9:37:04 AM org.hibernate.cfg.annotations.Version <clinit>
> [hibernate] INFO: Hibernate Annotations 3.3.0.GA
> [hibernate] May 22, 2008 9:37:04 AM org.hibernate.ejb.Version <clinit>
> [hibernate] INFO: Hibernate EntityManager 3.3.2.GA
> [hibernate] An exception occurred while running exporter #2:generic exportertemplate: view/list.xhtml.ftl
> [hibernate] To get the full stack trace run ant with -verbose
> [hibernate] Problems in creating a configuration for JPA. Have you remembered to add hibernate EntityManager jars to the classpath ?
> [hibernate] java.lang.reflect.InvocationTargetException
> [hibernate] java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.setProperty(Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/cfg/AnnotationConfiguration;
> BUILD FAILED
> /jboss/temp/trunk/jboss-seam-2.1.0-SNAPSHOT/seam-gen/build.xml:1124: Problems in creating a configuration for JPA. Have you remembered to add hibernate EntityManager jars to the classpath ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list