aws-samples / aws-samples/qct-sample-java-8-app
Logback file not updated as part of transform
- 主要言語
- Java
- スター
- 4
- フォーク
- 113
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Went through the transform process from Java 8 to 21 and was unable to run the application afterward without adding a `name` attribute to the element in the logback.xml. Just wanted to mention since this is meant to be the sample and didn't work for me out of the box.
```
Caused by: java.lang.IllegalStateException: Logback configuration error detected:
ERROR in ch.qos.logback.core.joran.action.AppenderAction - Missing attribute [name] in element [appender] near line 9
at org.springframework.boot.logging.logback.LogbackLoggingSystem.reportConfigurationErrorsIfNecessary(LogbackLoggingSystem.java:277)
at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:255)
at org.springframework.boot.logging.logback.LogbackLoggingSystem.reinitialize(LogbackLoggingSystem.java:334)
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:74)
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:61)
at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:189)
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:332)
... 19 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
```
コントリビューションガイド
調査の方向性
Start with the transformed sample's logback.xml and inspect the element near line 9. Verify the configuration against the reported Logback error, then run the application after the Java 8-to-21 transform; done means it starts without requiring a manual name attribute change.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100