*[1;34mINFO*[m] ----------------------------------...
# troubleshooting
y
*[1;34mINFO*[m] ------------------------------------------------------------- [*[1;31mERROR*[m] COMPILATION ERROR : [*[1;34mINFO*[m] ------------------------------------------------------------- [*[1;31mERROR*[m] Source option 5 is no longer supported. Use 7 or later. [*[1;31mERROR*[m] Target option 5 is no longer supported. Use 7 or later. [*[1;34mINFO*[m] 2 errors [*[1;34mINFO*[m] ------------------------------------------------------------- [*[1;34mINFO*[m] *[1m------------------------------------------------------------------------*[m [*[1;34mINFO*[m] *[1;31mBUILD FAILURE*[m [*[1;34mINFO*[m] *[1m------------------------------------------------------------------------*[m [*[1;34mINFO*[m] Total time: 0.791 s [*[1;34mINFO*[m] Finished at: 2023-03-28T143031+01:00 [*[1;34mINFO*[m] *[1m------------------------------------------------------------------------*[m [*[1;31mERROR*[m] Failed to execute goal [32morg.apache.maven.pluginsmaven compiler plugin3.1:compile[m *[1m(default-compile)*[m on project [36mwc[m: *[1;31mCompilation failure*[m: Compilation failure: [*[1;31mERROR*[m] Source option 5 is no longer supported. Use 7 or later. [*[1;31mERROR*[m] Target option 5 is no longer supported. Use 7 or later. [*[1;31mERROR*[m] -> *[1m[Help 1]*[m [*[1;31mERROR*[m] [*[1;31mERROR*[m] To see the full stack trace of the errors, re-run Maven with the *[1m-e*[m switch. [*[1;31mERROR*[m] Re-run Maven using the *[1m-X*[m switch to enable full debug logging. [*[1;31mERROR*[m] [*[1;31mERROR*[m] For more information about the errors and possible solutions, please read the following articles: [*[1;31mERROR*[m] *[1m[Help 1]*[m http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
m
You need to make sure that you're building for Java 8 or Java 11 and not for other versions
There are a bunch of Stackoverflow posts on this topic: https://stackoverflow.com/questions/53034953/error-source-option-5-is-no-longer-supported-use-6-or-later-on-maven-compile for example I would recommend to not use Eclipse; we've seen that this doesn't work well with Flink. IntelliJ is recommended
@Yemson Rose Please post any replies in this thread