#extends JavaPlugin not working

1 messages · Page 1 of 1 (latest)

scenic quarry
#

please help

round meadow
#

which error

#

does it give to you

scenic quarry
#

It says JavaPlugin isn't resolved to a type

round meadow
#

any other errors?

scenic quarry
#

i also imported spigot 1.19 in my referenced libaays

round meadow
#

in Errors section of your IDE

scenic quarry
#

no errors in that section

round meadow
#

You don't need to import anything

#

just use maven

scenic quarry
#

oh

#

oh ok

round meadow
#

and version is not 1.19 tho

scenic quarry
#

oh

#

ok

#

thx

#

ill try those things out

round meadow
#

<version>1.19.2-R0.1-SNAPSHOT</version>

scenic quarry
#

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

round meadow
#
<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

scenic quarry
#

extends JavaPlugin not working

round meadow
#

update project with maven

scenic quarry
#

Ok

round meadow
#

and here is your JavaPlugin

#

it was described in my tutorial tho

#

You need to learn how to read

scenic quarry
#

wait

#

the last time it didn't work

#

well

#

it did

#

but my project didin't save

round meadow
#

?

#

sounds like your problem