I tried to build the spring boot project for AWS lambda and deploy it. I try to use the following command:
mvn assembly:assembly -DdescriptorId=jar-with-dependencies package
to create a .JAR file.
My output:
[INFO]
[INFO] --- spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) # requestTestDemoFromAWSLambda ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.668 s
[INFO] Finished at: 2018-01-23T17:06:21+02:00
[INFO] Final Memory: 89M/538M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.9.RELEASE:repackage (default) on project requestTestDemoFromAWSLambda: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:1.5.9.RELEASE:repackage failed: Unable to rename 'D:\alexaWork\requestTestDemoFromAWSLambda\target\requestTestDemoFromAWSLambda-0.0.1-SNAPSHOT.jar' to 'D:\alexaWork\requestTestDemoFromAWSLambda\target\requestTestDemoFromAWSLambda-0.0.1-SNAPSHOT.jar.original' -> [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/PluginExecutionException
As you see is not working
Related
I'm new to learning quarkus and was trying to run a new project but here's an error for the same.
Using Openjdk11.0 on Windows 10
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------------< org.acme:backe >---------------------------
[INFO] Building backe 1.0.0-SNAPSHOT
[INFO] Invoking org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile # backe
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to C:\Users\btripathi\Project\backe\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.801 s
[INFO] Finished at: 2023-01-30T15:26:13+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:2.16.0.Final:dev (default-cli) on project backe: Fatal error compiling: error: **release version 17 not supported -> [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
I checked with jdk versions and did try running but I don't think I understand the root cause of the issue.
Found the solution to the problem where I made changes to pom.xml file. change the maven compiler release to same as that of jdk version, it works for me.
<properties>
<compiler-plugin.version>3.10.1</compiler-plugin.version>
<maven.compiler.release>11</maven.compiler.release>
I am trying to compile a project with Maven. I have used this command mvn assembly:assembly and I get the following error. This is with OPENIMAJ. I use option 7 (7: internal -> org.apache.maven.archetypes:maven-archetype-quickstart (An archetype which contains a sample Maven project.)) as an archtype.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.021 s
[INFO] Finished at: 2017-03-27T17:19:42+01:00
[INFO] Final Memory: 11M/243M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:assembly (default-cli) on project tester: Error reading assemblies: No assembly descriptors found. -> [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
How can I fix this?
I am facing this issue when I am deploying my openkm application using Maven:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.316 sError log,
[INFO] Finished at: 2016-12-15T09:31:54+03:00
[INFO] Final Memory: 20M/122M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.5.1:compile (default-cli) on project openkm: GWT Module com.googlecode.gwt.crypto.Crypto not found in project sources or resources. -> [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
com.googlecode.gwt.crypto.Crypto not found in project sources
Please make sure your dependencies include
<dependency>
<groupId>com.googlecode.gwt-crypto</groupId>
<artifactId>gwt-crypto</artifactId>
<version>2.3.0</version>
</dependency>
I have created Selenium automation project using Maven and trying to build using Jenkins but encountering the below issue
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # BigBasket ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.147 s
[INFO] Finished at: 2016-05-13T02:42:00+05:30
[INFO] Final Memory: 17M/180M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project BigBasket: /Users/Shared/Jenkins/Home/workspace/Test/target/classes/application.yml (Permission denied) -> [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
[JENKINS] Archiving /Users/Shared/Jenkins/Home/workspace/Test/pom.xml to com.bigbasket.framework/BigBasket/1.0-SNAPSHOT/BigBasket-1.0-SNAPSHOT.pom
channel stopped
[WARNING] Couldn't clean up oid=3 from null
hudson.remoting.ChannelClosedException: channel is already closed
at hudson.remoting.Channel.send(Channel.java:578)
Please help me to resolve this.
I want to install Apache Zeppelin on OSX 10.8, but build fails for some mysterious reasons. Specs: Java 1.7, Maven 3.3, node v0.12.4 and grunt v0.1.13.
I'm running the following command:
mvn clean package -DskipTests
And I am getting the following output :
[INFO] Zeppelin: web Application .......................... FAILURE [ 18.310 s]
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:53 min
[INFO] Finished at: 2016-01-14T18:32:13-05:00
[INFO] Final Memory: 78M/387M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:grunt (grunt build) on project zeppelin-web: Failed to run task: 'grunt --no-color' failed. (error code 3) -> [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 <goals> -rf :zeppelin-web
It seems to be some errors with grunt, but I'm not sure.