facebook

JSF/Spring/Hibernate application

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #285335 Reply

    Gareth42
    Member

    I have successfully run through the Spring Hibernate tutorial and the JSF one too and I’m trying to combine what is in them to create a simple application that takes in 2 values from a browser page and writes them to a table. I’ve written the code and deployed to JBoss 3.2.7. When I run it I get java.lang.NoSuchMethodError: net.sf.cglib.proxy.Enhancer.setInterceptDuringConstruction(Z)V when it tries to create the PersistenceLayer. The only difference between the code here and in the Spring/Hibernate tutorial is that this code is deployed.

    It looks to me like a configuration or deployment problem but after a week of tearing my hair out I need to ask for assistance. I see others have had the same problem but I can’t find anyone who has posted a solution and nothing shows up in the MyEclipse forums.

    Can anyone help?

    Gareth

    #285341

    It is likely JBoss uses older version of cglib.jar then the one required for Hibernate.
    I would advise trying newer JBoss server version.

    #285345

    Gareth42
    Member

    Yes I thought that too so I tried JBoss 4.2.2GA Unfortunately I cannot get it to start, it ends with
    11:23:59,439 INFO [QuartzResourceAdapter] start quartz!!!
    11:23:59,575 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
    11:23:59,620 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
    11:23:59,623 INFO [RAMJobStore] RAMJobStore initialized.
    11:23:59,624 INFO [StdSchedulerFactory] Quartz scheduler ‘DefaultQuartzScheduler’ initialized from default resource file in Quartz package: ‘quartz.properties’
    11:23:59,624 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
    11:23:59,624 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

    and then tries to load the class DTMManagerDefault.class

    I’m using Eclipse 3.3.2 with MyEclipse 6.0.1GA and I run on an Apple Mac.

    Does this help at all?

    Gareth

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSF/Spring/Hibernate application

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