You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/02/17 03:29:55 UTC

[GitHub] [incubator-seatunnel] tobezhou33 opened a new issue #1271: [Bug] [本地编译报错] mvn clean compile failed

tobezhou33 opened a new issue #1271:
URL: https://github.com/apache/incubator-seatunnel/issues/1271


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   when I download the code and want compile the source code with mvn clean compile ,it happen some error
   
   ### SeaTunnel Version
   
   latest
   
   ### SeaTunnel Config
   
   ```conf
   None
   ```
   
   
   ### Running Command
   
   ```shell
   mvn clean install
   ```
   
   
   ### Error Exception
   
   ```log
   [ERROR] error: scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found.
   [ERROR]         at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:17)
   [ERROR]         at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:18)
   [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:53)
   [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:45)
   [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:45)
   [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:66)
   [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getClassByName(Mirrors.scala:102)
   [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getRequiredClass(Mirrors.scala:105)
   [ERROR]         at scala.reflect.internal.Definitions$DefinitionsClass.ObjectClass$lzycompute(Definitions.scala:257)
   [ERROR]         at scala.reflect.internal.Definitions$DefinitionsClass.ObjectClass(Definitions.scala:257)
   [ERROR]         at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1394)
   [ERROR]         at scala.tools.nsc.Global$Run.<init>(Global.scala:1215)
   [ERROR]         at scala.tools.nsc.Driver.doCompile(Driver.scala:31)
   [ERROR]         at scala.tools.nsc.MainClass.doCompile(Main.scala:23)
   [ERROR]         at scala.tools.nsc.Driver.process(Driver.scala:51)
   [ERROR]         at scala.tools.nsc.Driver.main(Driver.scala:64)
   [ERROR]         at scala.tools.nsc.Main.main(Main.scala)
   [ERROR]         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [ERROR]         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
   [ERROR]         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [ERROR]         at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   [ERROR]         at scala_maven_executions.MainHelper.runMain(MainHelper.java:164)
   [ERROR]         at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  25.285 s
   [INFO] Finished at: 2022-02-17T11:13:20+08:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.3.1:compile (scala-compile-first) on project seatunnel-config-shade: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [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/MojoExecutionException
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] yx91490 commented on issue #1271: [Bug] [本地编译报错] mvn clean compile failed

Posted by GitBox <gi...@apache.org>.
yx91490 commented on issue #1271:
URL: https://github.com/apache/incubator-seatunnel/issues/1271#issuecomment-1043708238


   which branch or commit do you use?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] tobezhou33 closed issue #1271: [Bug] [本地编译报错] mvn clean compile failed

Posted by GitBox <gi...@apache.org>.
tobezhou33 closed issue #1271:
URL: https://github.com/apache/incubator-seatunnel/issues/1271


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org