1. 执行mvn install
2. 提示执行失败
3.错误信息如下:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project blade-core-tool: Compilation failure: Compilation failure:
[ERROR] /E:/ijwork/bladex-tool/blade-core-tool/src/main/java/org/springblade/core/tool/node/ForestNodeManager.java:[45,43] 不兼容的类型: 无法推断类型变量 K,V
[ERROR] (参数不匹配; 方法引用无效
[ERROR] 无法将 接口 org.springblade.core.tool.node.INode
[ERROR] 需要: 没有参数
[ERROR] 找到: ? super T
[ERROR] 原因: 实际参数列表和形式参数列表长度不同)
[ERROR] /E:/ijwork/bladex-tool/blade-core-tool/src/main/java/org/springblade/core/tool/node/ForestNodeManager.java:[45,51] 方法引用无效
[ERROR] 无法从静态上下文中引用非静态 方法 getId()
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn
请问是什么问题
使用jdk1.8 开发工具idea
扫一扫访问 Blade技术社区 移动端