Javaアダプターを作成しましたが、ビルド中にjavascriptアダプターが機能しなくなりました。IBM MobileFirst Platform 7.0 Javaアダプターを構築できません
これは私の設定です:
- Javaバージョン "1.7.0_101"
- OpenJDKのランタイム環境(IcedTeaの2.6.6)(7u101-2.6.6-0ubuntu0.14.04.1)
- OpenJDKの64ビットサーバーVM(24.95-B01、混合モードを構築する)
- JAVA_HOMEは/ usr/libに/ JVM /されているJava-7-OpenJDKの-amd64の
- OS:Linuxのx64の
私はすでにthis workaroundを試しました。
[Error:
BUILD FAILED
/opt/ibm/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:206: Build of the adapter 'xxxxxx' failed. The failure message is: 'Compile failed; see the compiler error output for details.'. The failure may have been caused due to incorrect Java code, incompatible JDK level, JAVA_HOME not pointing to the location of a valid JDK or missing dependencies. Note that the worklight-jee-library.jar must be in the classpath when building Java adapters.
]
Error: Sorry an error has occurred. Please check the stack above for details.
なぜOpenJdkを使用しますか? Oracle Javaを試してみてください。 –
@IdanAdar:助けてくれてありがとう、私はすでにOracle Java(JAVA_HOME =/usr/lib/jvm/java-7-oracle)を試してみたが、同じ問題に直面した。 –
どこにアダプタをビルドしていますか? CLIまたはStudioを使用していますか? –