Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 127 (Exit value: 127) #1019

Open
iumairhasan opened this issue Aug 21, 2023 · 3 comments

Comments

@iumairhasan
Copy link

rpdk.txt

I'm facing this below error while running mvn package

[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
=== Unhandled exception ===
Please report this issue to the team.
Issue tracker: github.com/aws-cloudformation/cloudformation-cli/issues
Please include the log file 'rpdk.log'
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 127 (Exit value: 127)

My dependency in pom.xml file

        <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>3.0.0</version>
                <executions>
                    <execution>
                        <id>add-source</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>add-source</goal>
                        </goals>
                        <configuration>
                            <sources>
                                <source>${project.basedir}/target/generated-sources/rpdk</source>
                            </sources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

I'm trying to build this project in GNU/Linux

@shivankgoel
Copy link

Getting the same error

@mircealam
Copy link
Member

this could be lack on python 3.11 support (which was just added) or lack of including the java plugin.
Can you please provide a small self contained repo to see if we can help investigate this further?

@Duddddd
Copy link

Duddddd commented Apr 16, 2024

I had the same error. I run this command(from README file) and it was resolved.
pip install cloudformation-cli cloudformation-cli-java-plugin cloudformation-cli-go-plugin cloudformation-cli-python-plugin cloudformation-cli-typescript-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants