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

Build Failure: Compilation Failure with Maven Compiler Plugin 3.10.1 #120

Open
islamsharaf opened this issue Jul 18, 2024 · 0 comments
Open

Comments

@islamsharaf
Copy link

I'm encountering a build failure while trying to integrate the Kill Bill Stripe plugin into my project. The error occurs during the compilation phase with the maven-compiler-plugin:3.10.1. Below is the relevant part of the build output:

[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.043 s [INFO] Finished at: 2024-07-18T19:30:04+03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project stripe-plugin: Compilation failure -> [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

Environment:

Java version: tried 11, 17, 22
Maven version: 3.9.6
Operating System: Windows 11

Steps to Reproduce:

  1. Clone the repository.
  2. Run mvn clean install in the root directory.

Expected Behavior:
The build should complete successfully without any compilation errors.

Actual Behavior:
The build fails with a compilation failure error.

Any guidance or suggestions to resolve this error would be greatly appreciated.
Thank you for your assistance.

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

1 participant