问题描述
我有一个非常简单的Worklight应用程序,没有适配器,没有Java代码,只有一些HTML.它是使用Worklight Studio 6.1在Eclipse Juno中构建的.当我尝试将* -all.wlapp文件部署到Worklight服务器(不是Worklight Studio服务器,而是在WebSphere集群中运行的实际WL服务器)时,得到以下消息:
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.
该项目是使用Worklight Studio 6.1创建的,从未见过6.0 Studio.希望我将其回溯至6.0版本有什么问题?
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?
推荐答案
这很可能意味着您没有在应用程序服务器上更新项目的war
文件.
This likely means you did not update the project's war
file on the application server.
虽然部署到应用程序服务器的Worklight Server实例为v6.1,但它正在运行基于Worklight 6.0的项目",而您的wlapp
是使用v6.1创建的.
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.
基于同一项目的v6.1部署更新的.war文件,然后重新部署wlapp
.
Deploy a newer .war file based on v6.1 of the same project followed by re-deployment of the wlapp
.
这篇关于IBM Worklight-建立在6.1上的项目不会部署在6.1服务器上,我需要使用6.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!