Worklight Server 6.1启动错误

时间:2014-07-28 15:41:12

标签: worklight-server

启动服务器时出错(WAS 8.5,WL 6.1)

0000006f JeeProjectAct E com.worklight.server.bundle.project.JeeProjectActivator contextInitialized FWLST0003E: ========= Failed starting project /worklight [project worklight]

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txManager' defined in URL [wsjar:file:/<my worklight install path>/Worklight/WorklightServer/worklight-jee-library.jar!/conf/core.xml]: Cannot resolve reference to bean 'brokerSessionFactory' while setting bean property 'entityManagerFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brokerSessionFactory' defined in URL [wsjar:file:/<my worklight install path>/WorklightServer/worklight-jee-library.jar!/conf/spring-server-core.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: javax/persistence/spi/PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;

1 个答案:

答案 0 :(得分:0)

在WebSphere中,访问Environment - &gt;共享库。您应该有一个WL_PLATFORM_LIB - 打开它并选中以下框:

  

为此共享库使用隔离的类加载器

我不确定为什么需要它,或者它在其他地方有什么影响,但它会让你的worklight服务器启动而不会出错。