Using JDK 11 to develop apps with the Atlassian SDK is not yet supported
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
Using JDK 11 with the Atlassian SDK is not yet supported - AMPS-1541.
環境
Atlassian SDK <= 8.2 ( as of this article, see bug report for eventual version supporting JDK 11 ).
診断
Attempting to compile with the Atlassian SDK and JDK 11 results in the following:
$ rm -rf target && atlas-package
[INFO] Project POM found
Executing:
/Applications/Atlassian/atlassian-plugin-sdk-8.2.6/apache-maven-3.5.4/bin/mvn
package -gs
/Applications/Atlassian/atlassian-plugin-sdk-8.2.6/apache-maven-3.5.4/conf/settings.xml
Exception in thread "main" java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:167)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at org.twdata.maven.trap.Dispatcher.getInterceptorsResourceBufferedReader(Dispatcher.java:67)
at org.twdata.maven.trap.Dispatcher.getMavenInterceptors(Dispatcher.java:45)
at org.twdata.maven.trap.Dispatcher.main(Dispatcher.java:21)
at org.twdata.maven.trap.App.main(App.java:18)ソリューション
Continue using JDK 8 to compile. The resulting app should work in JDK 11 without issue
更新日時: September 25, 2025
この内容はお役に立ちましたか?
さらにヘルプが必要ですか?
アトラシアン コミュニティをご利用ください。