org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (make-assembly) on project zkui: Failed to create assembly: Failed to retrieve OS environment variables. Reason: Cannot run program "env": error=2, No such file or directory

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by rajeshiv
, 10 months ago
Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (make-assembly) on project zkui: Failed to create assembly: Failed to retrieve OS environment variables. Reason: Cannot run program "env": error=2, No such file or directory
via Stack Overflow by dazz
, 7 months ago
Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (default-cli) on project doc-samples: Error reading assemblies: No assembly descriptors found.
via GitHub by sebastinas
, 8 months ago
Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:assembly (default-cli) on project aggregator: Error reading assemblies: No assembly descriptors found.
via Stack Overflow by Jim
, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single (make-assembly) on project xsb: Execution make-assembly of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single failed.
via GitHub by stvno
, 11 months ago
Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (make-assembly) on project neo4j-spatial: Failed to create assembly: Error filtering file '/home/steven/spatial/target/docs/images/get_max_area.png': Mark invalid
via Stack Overflow by Ernio
, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (make-assembly) on project dedicated: Execution make-assembly of goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single failed: Plugin
org.apache.maven.plugin.MojoExecutionException: Failed to create assembly: Failed to retrieve OS environment variables. Reason: Cannot run program "env": error=2, No such file or directory
at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:433)

Users with the same issue

6 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.