This message was deleted.
# community-support
s
This message was deleted.
c
Fix the compilation errors.
m
Should I correct the code or is it configuration?
Task :compileTestJava FAILED
C:\Users\Miguel\IdeaProjects\co.com.choucair.certification.proyectobase\src\test\java\co\com\choucair\certification\proyectobase\runners\stepdefinitions\ChoucairAcademyStepDefinitions.java25 error: illegal character: '\u00b3' public void heSearchForTheCourseRecursosAutomatizaciónBancolombiaOnTheChoucairAcademyPlatform() { ^ C:\Users\Miguel\IdeaProjects\co.com.choucair.certification.proyectobase\src\test\java\co\com\choucair\certification\proyectobase\runners\stepdefinitions\ChoucairAcademyStepDefinitions.java25 error: invalid method declaration; return type required public void heSearchForTheCourseRecursosAutomatizaciónBancolombiaOnTheChoucairAcademyPlatform() { ^ C:\Users\Miguel\IdeaProjects\co.com.choucair.certification.proyectobase\src\test\java\co\com\choucair\certification\proyectobase\runners\stepdefinitions\ChoucairAcademyStepDefinitions.java30 error: illegal character: '\u00b3' public void heFindsTheCourseCalledResourcesRecursosAutomatizaciónBancolombia() { ^ C:\Users\Miguel\IdeaProjects\co.com.choucair.certification.proyectobase\src\test\java\co\com\choucair\certification\proyectobase\runners\stepdefinitions\ChoucairAcademyStepDefinitions.java30 error: invalid method declaration; return type required public void heFindsTheCourseCalledResourcesRecursosAutomatizaciónBancolombia() { ^ 4 errors
Task :processTestResources UP-TO-DATE
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileTestJava'.
Compilation failed; see the compiler error output for details.
* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 12s
c
It's the compilation errors that are in the output, likely from your code
m
ok, Thanks
v
Your problem is that you have a superscript three in your code (
\00b3
) where it is not allowed, or maybe you have an encoding problem like saving your file in UTF-8 but not telling the compiler and other tools about it and being on Java <18.
I guess it is not a superscript three, but the
ó
in the method name combined with the encoding conflict I mentioned.
c
I'd figure out an appropriate encoding for your whole project and use it for all your project's module. then everything should be fine 😄