itwanger / itwanger/paicoding

首次运行,构建失败,求助

Open
#95 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
3.2k
Forks
622
PR merge metrics
No merged PRs in 30d

Description

bug描述
出现两行这个报错:
java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

复现

bug复现步骤:
执行预编译任务…
正在运行 'before' 任务
正在检查源
正在复制资源… [paicoding-api]
正在复制资源… [paicoding-core]
正在复制资源… [paicoding-service]
正在复制资源… [paicoding-web]
正在复制资源… [paicoding-ui]
依赖分析发现 0 个受影响的文件
正在更新依赖项信息… [paicoding-api]
正在解析 java… [paicoding-api]
java: 源值 8 已过时,将在未来发行版中删除
java: 目标值 8 已过时,将在未来发行版中删除
java: 要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。
java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
依赖分析发现 0 个受影响的文件
编译模块 'paicoding-api' 时发生错误
javac 23.0.1 用于编译 java 源
已完成,正在保存缓存…
执行后编译任务…
正在同步输出目录…
2025/1/18 22:10 - 在 6秒731毫秒内成功完成编译,包含 2 个错误和 3 个警告

bug产生原因(若您已发现具体的bug产生原因,请直接贴上,也可以提merge进行修复)
不知道

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the precompile output for the paicoding-api module and inspect the compiler and annotation-processing dependencies involved when javac 23 compiles source and target 8. Reproduce the JCTree$JCImport NoSuchFieldError, then identify a compatible Java or dependency configuration. Done means the project builds without the two errors while preserving the intended Java 8 target.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.