aws-samples / aws-samples/aws-java-sample

Maven error and javax.xml.bind.DatatypeConverter with jdk10

オープン
#24 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
241
フォーク
345
PR マージ指標
30日以内にマージされた PR はありません

説明

If you get the error
maven Source option 5 is no longer supported. Use 6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.

Add the following to the properties
1.6
1.6

That fixes the problem for jdk8.

For jdk10
The example builds but gives a runtime exception
An exception occured while executing the Java class. null: InvocationTargetException: javax/xml/bind/DatatypeConverter: javax.xml.bind.DatatypeConverter

as javax.xml.bind.DatatypeConverter is removed in JDK9 onwards

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。