问题
I've got a very simple Worklight application, no adapters, no java code, just some HTML. It's built in Eclipse Juno with Worklight studio 6.1. When I try to deploy the *-all.wlapp file the worklight server (not the worklight studio server, but an actual WL server running in a WebSphere cluster) I get the following message:
Failed to deploy application 'XXXX-all.wlapp'. The 'application' version '6.1.0.00.20131219-1900' is different than the version of the Worklight project '6.0.0'. Use Worklight Studio '6.0.0' to build and deploy the application.
The project was created using Worklight studio 6.1 and has never seen the 6.0 studio. What's wrong with this thing that it wants me to back-rev to 6.0?
回答1:
This likely means you did not update the project's war
file on the application server.
While the Worklight Server instance deployed to the application server is of v6.1, it is running a Worklight 6.0-based "project", while your wlapp
was created with v6.1.
Deploy a newer .war file based on v6.1 of the same project followed by re-deployment of the wlapp
.
来源:https://stackoverflow.com/questions/21637642/ibm-worklight-project-built-on-6-1-will-not-deploy-on-6-1-server-says-i-need