#extends JavaPlugin not working
1 messages · Page 1 of 1 (latest)
It says JavaPlugin isn't resolved to a type
any other errors?
i also imported spigot 1.19 in my referenced libaays
in Errors section of your IDE
no errors in that section
and version is not 1.19 tho
<version>1.19.2-R0.1-SNAPSHOT</version>
and ill tell u if it fixes
<version>1.19</version>
is that what it should be
because
over here it sends link to snapshot
in the url section
<properties>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.19.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>```
copy + paste
extends JavaPlugin not working
update project with maven
Ok