qos-ch / logback

The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
Other
2.97k stars 1.28k forks source link

Failing while building logback-parent version 1.3.1 using mvnw clean install (ch.qos.logback:logback-parent:1.3.1) #811

Open shivsrivastava opened 4 months ago

shivsrivastava commented 4 months ago

Package artifact id: ch.qos.logback

source code url: https://github.com/qos-ch/logback/tree/v_1.3.1

Issue Description: Failing while building logback-parent version 1.3.1 using mvn clean install (ch.qos.logback:logback-parent:1.3.1)

JDK Version: 1.8

Build CMD: mvn clean install

MVN Version: 3.9.6

gradle version - NA

Error Log:

[INFO] /C:/code/Code-Latest/ch.qos.logbacklogback-parent1.3.1/code/logback/logback-core/src/main/java/ch/qos/logback/core/joran/event/stax/StaxEventRecorder.java: Some input files use unchecked or unsafe operations. [INFO] /C:/code/Code-Latest/ch.qos.logbacklogback-parent1.3.1/code/logback/logback-core/src/main/java/ch/qos/logback/core/joran/event/stax/StaxEventRecorder.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /C:/code/Code-Latest/ch.qos.logbacklogback-parent1.3.1/code/logback/logback-core/src/main/java/ch/qos/logback/core/util/EnvUtil.java:[16,24] package java.lang.module does not exist [INFO] 1 error

attachement: build log attached (jdk 1.8) Failed_java_8.txt

OS: windows 10

shivsrivastava commented 3 months ago

Please provide an update.

hazendaz commented 3 months ago

Use higher jdk than 8. Try 11

Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: shivsrivastava @.> Sent: Thursday, May 2, 2024 11:17:14 PM To: qos-ch/logback @.> Cc: Subscribed @.***> Subject: Re: [qos-ch/logback] Failing while building logback-parent version 1.3.1 using mvnw clean install (ch.qos.logback:logback-parent:1.3.1) (Issue #811)

Please provide an update.

— Reply to this email directly, view it on GitHubhttps://github.com/qos-ch/logback/issues/811#issuecomment-2092056868, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHODIYDMT4Z5JNZBR34WF3ZAL6TVAVCNFSM6AAAAABG5JSIIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGA2TMOBWHA. You are receiving this because you are subscribed to this thread.Message ID: @.***>