我正在尝试在weblogic 10.3.6中部署Grails应用程序。 Grails版本是2.5.0和java jdk1.7.0_79。
它适用于jdk1.7.0_79和grails 2.3.7。
Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'lobHandlerDetector' while setting bean prope
ty 'lobHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lobHandlerDetector': Invocation of init method failed; nested excepti
n is java.lang.NoClassDefFoundError: oracle/xdb/XMLType
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
Truncated. see log file for complete stacktrace
如果我在modules / lib中添加xdb6.jar ..它不会选择那个jar并仍然抱怨。
有什么想法吗?