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

Unable to build #4

Closed
Kraker01 opened this issue Aug 24, 2021 · 0 comments
Closed

Unable to build #4

Kraker01 opened this issue Aug 24, 2021 · 0 comments

Comments

@Kraker01
Copy link

Hi,

i'd like to test your bot, I've installed JDK (8, javac command is working), Maven (latest version, MVN command is working), but i'm gettins those errors:

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for bh.bot:BitHeroes:jar:1.0.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 36, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 44, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] --------------------------< bh.bot:BitHeroes >--------------------------
[INFO] Building BitHeroes 1.0.2
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ BitHeroes ---
[INFO] Deleting C:\Users\Marco\Documents\GitHub\Bit-Heroes-bot\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ BitHeroes ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 16 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ BitHeroes ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 21 source files to C:\Users\Marco\Documents\GitHub\Bit-Heroes-bot\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.389 s
[INFO] Finished at: 2021-08-24T12:24:35+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project BitHeroes: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR]
[ERROR] -> [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
Nella destinazione, BitHeroes.jar specifica
un nome di file o di directory
(F = file, D = directory)? F
Impossibile trovare il file - BitHeroes-*-jar-with-dependencies.jar
0 File copiati
Error: Unable to access jarfile BitHeroes.jar

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