Вопрос Проблема с minced-1.20.4

ни ошибки, ни логов, мб гадалкой стать?
?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
 Run with --info or --debug option to get more log output.
 Run with --scan to get full insights.
 Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
 Run with --info or --debug option to get more log output.
 Run with --scan to get full insights.
 Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
 Run with --info or --debug option to get more log output.
 Run with --scan to get full insights.
 Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
все равно вот это:

?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
 Run with --info or --debug option to get more log output.
 Run with --scan to get full insights.
 Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
 
?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
 Run with --info or --debug option to get more log output.
 Run with --scan to get full insights.
 Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
 Run with --info or --debug option to get more log output.
 Run with --scan to get full insights.
 Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
 Run with --info or --debug option to get more log output.
 Run with --scan to get full insights.
 Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

все равно вот это:

?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
 Run with --info or --debug option to get more log output.
 Run with --scan to get full insights.
 Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
Решение ошибки с JCTree$JCImport:

1. Убедитесь, что версия JDK компиляции совпадает с версией, для которой разработаны ваши плагины/библиотеки.

2. В build.gradle укажите правильную версию Java:
Код:
Expand Collapse Copy
groovy
   sourceCompatibility = '11'  // Или другая совместимая версия
   targetCompatibility = '11'

3. Обновите/понизьте версию используемых плагинов, особенно тех, что взаимодействуют с внутренними API компилятора (Lombok, QueryDSL и т.п.)

4. Выполните полную очистку проекта:
Код:
Expand Collapse Copy
bash
   ./gradlew clean build --refresh-dependencies

Наиболее вероятная причина - несовместимость между версией JDK и плагинами, использующими внутренние API компилятора Java.
 
Решение ошибки с JCTree$JCImport:

1. Убедитесь, что версия JDK компиляции совпадает с версией, для которой разработаны ваши плагины/библиотеки.

2. В build.gradle укажите правильную версию Java:
Код:
Expand Collapse Copy
groovy
   sourceCompatibility = '11'  // Или другая совместимая версия
   targetCompatibility = '11'

3. Обновите/понизьте версию используемых плагинов, особенно тех, что взаимодействуют с внутренними API компилятора (Lombok, QueryDSL и т.п.)

4. Выполните полную очистку проекта:
Код:
Expand Collapse Copy
bash
   ./gradlew clean build --refresh-dependencies

Наиболее вероятная причина - несовместимость между версией JDK и плагинами, использующими внутренние API компилятора Java.
можешь по anydesk помочь пжж
 
Решение ошибки с JCTree$JCImport:

1. Убедитесь, что версия JDK компиляции совпадает с версией, для которой разработаны ваши плагины/библиотеки.

2. В build.gradle укажите правильную версию Java:
Код:
Expand Collapse Copy
groovy
   sourceCompatibility = '11'  // Или другая совместимая версия
   targetCompatibility = '11'

3. Обновите/понизьте версию используемых плагинов, особенно тех, что взаимодействуют с внутренними API компилятора (Lombok, QueryDSL и т.п.)

4. Выполните полную очистку проекта:
Код:
Expand Collapse Copy
bash
   ./gradlew clean build --refresh-dependencies

Наиболее вероятная причина - несовместимость между версией JDK и плагинами, использующими внутренние API компилятора Java.
Чисто через гпт ответил, Толку от таких сообщений?
 
?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

все равно вот это:

?:
Expand Collapse Copy
Execution failed for task ':compileJava'.
[QUOTE] java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'[/QUOTE]

* Try:
[QUOTE] Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.[/QUOTE]
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 29s
2 actionable tasks: 2 executed

Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
у тебя джава для билда градла не подходит, кароче заходишь в настройки ide там типо build, и другя хуня потом тыкаешь на build tools, gradle и выбираешь 21 джаву потом в настройках проекта тоже выбераешь 21 джаву
 
Назад
Сверху Снизу