-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Good afternoon,,
I want to deploy my application (zk, hibernate and spring) on glassfish but occurred problem.
but if I deploy this war in jetty server its run well.
in server.log on glassfish I see the log as below :
[#|2012-10-29T11:23:02.631+0800|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=14;_
ThreadName=pool-1-thread-10;_RequestID=0ebfd82c-17cb-4322-af6e-f532dff61b4d;|WebModulePWC1275:
Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory'
defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean.
Thanks
but, If I deploy this war on glassfish 3.1 its running well. Before using glassfish 3.1, I use glassfish 2.1, Is glassfish 2.1 not compatible for zkoss war ?
thanks
Asked: 2012-10-29 04:00:18 +0800
Seen: 55 times
Last updated: Oct 30 '12