未知的Java Maven汇编错误:R1549AADB
尽管将Java 8项目模块化和迁移到Java 17遇到了未知的Maven错误。
该项目具有非模块化依赖性。
常规类和测试类(JUNIT5)编译并通过Eclipse(无需调用Maven)良好。
常规类用Maven编译罚款,但是当Maven编译测试类(JUNIT5)错误时,例如报告:
[ERROR] /C:/some/path/to/a/source/file.java:[11,15] cannot access org
R1549aadb
其中org
被认为是软件包名称的第一个部分,遇到的其他示例包括<代码> java ,javax
。
行号似乎总是对应于导入语句。在这种情况下[11]是:导入org.junit.jupiter.api.assertions;
任何熟悉这种错误的人?
有人知道什么<代码> R1549AADB 是指?
Whilst modularizing and migrating a Java 8 project to Java 17 an unknown maven error has been encountered.
The project has non-modular dependencies.
The regular classes and test classes (JUnit5) compile and run fine through Eclipse (without invoking maven).
The regular classes compile fine with maven, however when maven compiles the test classes (JUnit5) errors such as are reported:
[ERROR] /C:/some/path/to/a/source/file.java:[11,15] cannot access org
R1549aadb
Where org
is assumed to be the first portion of a package name, other examples encountered include java
, javax
.
The line number always seems to correspond to an import statement. in this case line [11] was: import org.junit.jupiter.api.Assertions;
Anyone familiar with this kind of error?
Does anyone know what R1549aadb
refers to?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论