facebook

hibernate and spring tutorial

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #274974 Reply

    vljc2004
    Member

    Hi, i’m follow the tutorial step to step, but the compiler my class “BusinessLogic” show this error:

    Exception in thread “main” org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘persistenceLayer’ defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean ‘UserDAO’ while setting bean property ‘userDAO’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘UserDAO’ defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean ‘hibernateSession’ while setting bean property ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hibernateSession’ defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.SecurityException: class “org.apache.commons.collections.SequencedHashMap”‘s signer information does not match signer information of other classes in the same package
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘UserDAO’ defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean ‘hibernateSession’ while setting bean property ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hibernateSession’ defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.SecurityException: class “org.apache.commons.collections.SequencedHashMap”‘s signer information does not match signer information of other classes in the same package
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hibernateSession’ defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.SecurityException: class “org.apache.commons.collections.SequencedHashMap”‘s signer information does not match signer information of other classes in the same package
    java.lang.SecurityException: class “org.apache.commons.collections.SequencedHashMap”‘s signer information does not match signer information of other classes in the same package

    #274982 Reply

    Loyal Water
    Member

    What version of MyEclipse are you using ? Incase your using MyEclipse 6.0, have you installed the new hotfix ?

    #274986 Reply

    vljc2004
    Member

    no!, what is hotfix.Wich download. Because i can make run to aplicattion but my java thunder when make the “Run as -> Java application”, not show the result :s :s

    #274987 Reply

    vljc2004
    Member

    I use myeclipse 6.0

    #275032 Reply

    Loyal Water
    Member

    java.lang.SecurityException: class “org.apache.commons.collections.SequencedHashMap”‘s signer information does not match signer information of other classes in the same package

    The update patch is a hotfix for this issue. I suggest you install the HotFix and then try this again.

    #275642 Reply

    lvw
    Member

    This message has not been recovered.

    #275831 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #283235 Reply

    This message has not been recovered.

    #283241 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #284133 Reply

    millstone
    Member

    This message has not been recovered.

    #284236 Reply

    Loyal Water
    Member

    This message has not been recovered.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: hibernate and spring tutorial

You must be logged in to post in the forum log in