-
Notifications
You must be signed in to change notification settings - Fork 9
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
i can't compilate the api #6
Comments
Recommendation: read the log and figure out what the problem is To debug all errors, use "mvn clean install -e". |
WARNING: An illegal reflective access operation has occurred how can i fix this ? |
Failed to execute goal on project CheatBreakerAPI: Could not resolve dependencies for project com.cheatbreaker:CheatBreakerAPI:jar:1.0-SNAPSHOT: Could not find artifact com.cheatbreaker:CheatBreakerAPINetHandler:jar:1.0-SNAPSHOT Like jhalt said, CheatBreakerAPINetHandler isn't public. So until then, you can't compile this project using Maven. However, you can compile it by exporting as a JAR in your IDE. Note: it won't actually work unless you remove a lot of the code in #onEnable() |
ok thank you |
I put the nethandler on my github if you need it. It should be fine with this version of cheatbreakerapi but if needed I put one with the nethandler already in it on my github so it's ready to compile. |
when i try to compilate the api the server say this ARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.de
fineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< com.cheatbreaker:CheatBreakerAPI >------------------
[INFO] Building CheatBreakerAPI 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.395 s
[INFO] Finished at: 2020-04-03T12:58:26+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "pom.xml". You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources,
compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, pr
epare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-s
ite, site-deploy. -> [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/LifecyclePhaseNotFoundException
The text was updated successfully, but these errors were encountered: