Replies: 1 comment 6 replies
-
A little weirdd |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Search before asking
Linkis Component
linkis-commons
What happened + What you expected to happen
linkis进行全量编译时执行mvn clean install 报错:
[INFO]
[INFO] --- scala-maven-plugin:3.2.2:compile (scala-compile-first) @ linkis-common ---
[WARNING] Zinc server is not available at port 3030 - reverting to normal incremental compile
[INFO] Using incremental compilation
[INFO] Compiling 42 Scala sources and 22 Java sources to ***\linkis\linkis-commons\linkis-common\target\classes...
[WARNING] ***\linkis\linkis-commons\linkis-common\src\main\scala\org\apache\linkis\common\utils\ArrayUtils.scala:29:
abstract type T in type pattern Array[T] is unchecked since it is eliminated by erasure
[WARNING] case destArray: Array[T] => destArray
[WARNING] ^
[WARNING] ***\linkis\linkis-commons\linkis-common\src\main\scala\org\apache\linkis\common\utils\ArrayUtils.scala:45:
abstract type T in type pattern Array[T] is unchecked since it is eliminated by erasure
[WARNING] case destArray: Array[T] => destArray
[WARNING] ^
[WARNING] ***\linkis\linkis-commons\linkis-common\src\main\scala\org\apache\linkis\common\utils\Utils.scala:53: This
catches all Throwables. If this is really intended, use
case t : Throwable
to clear this warning.[WARNING] case t => catchOp(t)
[WARNING] ^
[WARNING] four deprecations (since 2.12.0); re-run with -deprecation for details
[WARNING] one feature warning; re-run with -feature for details
[WARNING] 5 warnings found
[ERROR] javac: 找不到文件: ***\linkis\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorco
de\ErrorCodeUtils.java
[ERROR] 用法: javac
Relevent platform
Windows + IDEA
Reproduction script
1、克隆linkis项目
2、 mvn -N install
3、mvn clean install
Anything else
No response
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions