2013-10-03 51 views
0

我已經在WebSphere 8.5.5試圖按照這些指示(http://pic.dhe.ibm.com/infocenter/wrklight/v6r0m0/index.jsp)與Derby數據庫部署工作燈6,我已經試圖打我的工作燈實例時,遇到了以下錯誤部署工作燈:在WebSphere

Error 500: javax.servlet.ServletException: Worklight Project not initialized 

當我檢查日誌,我可以看到工作燈服務器尚未啓動,由於此異常:我直接就把工作燈罐子在WebSphere LIB來解決有關身份驗證的另一個問題

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'brokerSessionFactory' defined in URL [jar:file:/C:/IBM/WebSphere/AppServer/lib/worklight-jee-library-6.0.0.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; 
... 
Caused by: java.lang.AbstractMethodError: javax/persistence/spi/PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode 
at org.apache.openjpa.persistence.PersistenceUnitInfoImpl.toOpenJPAProperties(PersistenceUnitInfoImpl.java:499) 
at org.apache.openjpa.persistence.PersistenceProductDerivation.load(PersistenceProductDerivation.java:317) 
at org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:160) 
at org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:62) 

上課不是基金會d如果我記得正確...也許我需要更多的罐子,或者我不正確地解決了我以前的問題?我也把javax.peristence.jar放在了websphere裏面,但是這沒有幫助。

回答

0

您是否在使用Ant腳本進行部署?如果在執行手動應用程序部署時錯過了某些步驟,會發生這種情況