#placeholder

1 messages · Page 1 of 1 (latest)

glad mauve
#

I can not understand how to solve this error, I do everything as it should be but the problem does not go away, someone can help?
error

[INFO] --- compiler:3.13.0:compile (default-compile) @ BatGift ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 2 source files with javac [debug target 21] to target\classes
[INFO] /C:/Users/kavar/IdeaProjects/BatGift/src/main/java/org/wairesd/batGift/BatGift.java: C:\Users\kavar\IdeaProjects\BatGift\src\main\java\org\wairesd\batGift\BatGift.java uses or overrides a deprecated API.
[INFO] /C:/Users/kavar/IdeaProjects/BatGift/src/main/java/org/wairesd/batGift/BatGift.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] location of system modules is not set in conjunction with -source 21
  not setting the location of system modules may lead to class files that cannot run on JDK 21
    --release 21 is recommended instead of -source 21 -target 21 because it sets the location of system modules automatically
[INFO] 1 warning
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/kavar/IdeaProjects/BatGift/src/main/java/org/wairesd/batGift/BatGiftExpansion.java:[29,5] method does not override or implement a method from a supertype
[INFO] 1 error
[INFO] -------------------------------------------------------------