0

环境:
Ecipse Luna(4.4.2)
MoibleFirstStudioPlugin 7.0.0.00-20150610-1353
Mac OS X
10.10.5 java Oracle jdk1.7.0.71

我在 moiblefirst 项目中创建了 Hello World App。当我尝试将此应用程序部署到开发服务器时,出现以下错误。

[2015-08-19 16:48:30]             Application 'helloworld' with all environments build finished.
[2015-08-19 16:48:30]             Deploying application 'helloworld' with all environments to MobileFirst Server... 
[2015-08-19 16:48:34]             Failed to deploy application 'helloworld' to MobileFirst Server: : HTTP 500 - Internal Server Error 

原因如下。

[ERROR   ] Unable to create project lock entity for helloworld even after 2 tries.
The project lock entity still does not exist.

我不明白这些错误是什么意思。我该如何解决?整个日志如下。

objc[1021]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Listening for transport dt_socket at address: 10777
Launching worklight (WebSphere Application Server 8.5.5.4/wlp-1.0.7.cl50420141121-1414) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_71-b14 (en_US)
[AUDIT   ] CWWKE0001I: The server worklight has been launched.
[AUDIT   ] CWWKZ0058I: Monitoring dropins for applications. 
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/serializer-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xercesImpl.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path serializer.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path activation.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path activation.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/_MobileBrowserSimulator/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/analytics/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/IBMJMXConnectorREST/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/helloworld/
[AUDIT   ] CWWKZ0001I: Application _MobileBrowserSimulator started in 1.782 seconds.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/serializer-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xercesImpl.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path serializer.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/analytics-service/
[AUDIT   ] CWWKZ0001I: Application AnalyticsUI started in 10.129 seconds.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/worklightconsole/
[AUDIT   ] CWWKZ0001I: Application WorklightConsole started in 12.644 seconds.
[AUDIT   ] CWWKZ0001I: Application helloworld started in 13.867 seconds.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/worklightadmin/
[WARNING ] CWNEN0070W: The javax.ws.rs.CookieParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.MatrixParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.QueryParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.PathParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.HeaderParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.core.Context annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[AUDIT   ] CWWKZ0001I: Application AnalyticsServices started in 29.995 seconds.
[AUDIT   ] CWWKF0011I: The server worklight is ready to run a smarter planet.
[AUDIT   ] CWWKZ0022W: Application WorklightServices has not started in 30.006 seconds.
[WARNING ] Using empty value for configuration property 'trusted.signer.certificate.paths'
[AUDIT   ] CWWKZ0001I: Application WorklightServices started in 33.576 seconds.
[ERROR   ] Unable to create project lock entity for helloworld even after 2 tries.
The project lock entity still does not exist.
4

1 回答 1

1

我的工作区文件夹名称似乎太长了。我将文件夹名称从 19 个字符更改为 7 个字符。现在它起作用了。

于 2015-08-20T02:44:16.280 回答