2017-03-15 20 views
0

作成したアダプタをデプロイすると、IBM MobileFirstプラットフォーム8.0で作業しています。何かエラーが発生しました。ここに新しいです。助けてください。 この私はそれらのerror.My MFPDEVバージョンを持って、私はgot.Iが、私はそれを展開するとき、私は、それを展開できなかったsuccessfully.Butアダプタを作成することができ、エラーであるが8.0.0-2016101416mfpdevにアダプタをデプロイするときにエラーが発生しました

[INFO] Scanning for projects... 
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
com.ll:two:adapter:1.0-SNAPSHOT 
[WARNING] 'build.plugins.plugin.version' for com.ibm.mfp:adapter-maven-plugin is 
missing. @ line 44, column 12 
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten t 
he stability of your build. 
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support buildin 
g such malformed projects. 
[WARNING] 
[INFO] 
[INFO] ------------------------------------------------------------------------ 
[INFO] Building two 1.0-SNAPSHOT 
[INFO] ------------------------------------------------------------------------ 
[INFO] 
[INFO] --- adapter-maven-plugin:8.0.2017021701:deploy (default-cli) @ two --- 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 20.670 s 
[INFO] Finished at: 2017-03-16T17:57:39+05:30 
[INFO] Final Memory: 10M/155M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal com.ibm.mfp:adapter-maven-plugin:8.0.2017021701:d 
eploy (default-cli) on project two: Error accessing http://localhost:9080/mfpadm 
in/management-apis/2.0/runtimes/mfp/adapters: D:\mars2\workspace\newproject.app\ 
two\target\two.adapter (The system cannot find the path specified). Check proper 
ties details in pom.xml -> [Help 1] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit 
ch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please rea 
d the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE 
xception 

Error deploying adapter 
undefined 
Error: An error occurred during an attempt to deploy the adapter. See the preced 
ing messages for details. 
+0

と同じ名前を持っていることをダブルチェックしていました1)正確なビルドバージョンのMFP 8.0を提供します。 2)あなたのmfpdevバージョンは何ですか? 3)警告のみが表示されます。あなたはどのようなエラーに直面し、アダプターはうまく展開しましたか? –

+0

こんにちは、私はcliで何を得たのか完全な内容で投稿を編集します。 – veer

+0

'/ management-apis/2.0/runtimes/mfp/adaptersのhttp:// localhost:9080/mfpadm にアクセスする際のエラー:D:\ mars2 \ workspace \ newproject.app \ \ target \ twoです。アダプタ(システムは指定されたパスを見つけることができません) 'その場所で' two.adapter'ですか?サーバーのURLは正しいですか? 'pom.xml'を投稿する必要があるかもしれません – dbreaux

答えて

0

最初のものです8.0.2017021701

は、あなたの開発キットのバージョン

よりもかなり新しいです:私はあなたのプラグインのバージョン

アダプタのmaven-pluginのことです気づきます

8.0.0-2016101416

はの一つは、サーバーがDEV環境で最新の状態にすることが必要で、過去4-5ヶ月の間に、いくつかの重要な変更/改良/修正が行われています。それが役立つかどうか確認するために、あなたのdevkit/serverをアップグレードしてみてください。同じ問題に

0

私のソリューションはadapter.xml<JAXRSApplicationClass>(アダプタ用)またはsecurityCheckDefinitionclass(セキュリティチェック用)が存在し、それがの.javaクラス

関連する問題