#Plugin Building Errors

1 messages · Page 1 of 1 (latest)

young plover
#

I am trying to get into plugin development and I am following https://www.spigotmc.org/wiki/creating-a-blank-spigot-plugin-in-vs-code/.

I get this error
Could not resolve dependencies for project com.github.gcars06:porg:jar:1.0-SNAPSHOT: org.spigotmc:spigot-api:jar:1.17 was not found in https://hub.spigotmc.org/nexus/content/repositories/releases/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of spigot-repo has elapsed or updates are force

foggy hinge
#

isnt it spigot - api>

vestal vessel
#

yes

young plover
#

in what? (sorry im very new to this btw)

#

now I have a new error
[INFO] 5 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.701 s [INFO] Finished at: 2021-12-16T17:43:00-08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project porg: Compilation failure: Compilation failure: [ERROR] /home/gcars06/Documents/Spigot 1.17 Plugin/porg/src/test/java/com/github/gcars06/AppTest.java:[3,24] package org.junit does not exist [ERROR] /home/gcars06/Documents/Spigot 1.17 Plugin/porg/src/test/java/com/github/gcars06/AppTest.java:[3,1] static import only from classes and interfaces [ERROR] /home/gcars06/Documents/Spigot 1.17 Plugin/porg/src/test/java/com/github/gcars06/AppTest.java:[5,17] package org.junit does not exist [ERROR] /home/gcars06/Documents/Spigot 1.17 Plugin/porg/src/test/java/com/github/gcars06/AppTest.java:[15,6] cannot find symbol [ERROR] symbol: class Test [ERROR] location: class com.github.gcars06.AppTest [ERROR] /home/gcars06/Documents/Spigot 1.17 Plugin/porg/src/test/java/com/github/gcars06/AppTest.java:[18,9] cannot find symbol [ERROR] symbol: method assertTrue(boolean) [ERROR] location: class com.github.gcars06.AppTest [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