Solved, thank you very much for your help! I don't really understand the way it has been solved, but not it works.
What I did after the new build error, and not knowing how to fix it, was to try java 17, which kept giving the same error. Then I went back to java 8 in the project settings, into the netbeans, and IT WORKED!!! I feel like Elliot from ET! It works! Thank you very much, again. Carles Missatge de Carles Franquesa <car...@algorismes.cat> del dia ds., 31 de des. 2022 a les 1:03: > Thanks for your answer, Shawn, deeply. > > Once downloaded, installed, and configured in the settings of the netbeans > project, the error has changed, what always is very hopeful. > > Now, the thing is that the compiler gives this new output: > > [image: image.png] > > Tried to modify the compiler options in the project properties, > [image: image.png] > but, obviously, is not the place. > > Do you now where should I modify the compiler option Xbootclasspath? > > And I feel sorry for not having checked exactly "URLEncoder.encode > TomcatManagerImpl". Trust me when I say I have been googling so far as > extenuation... > > I insist, thanks for your help! > > Carles > > > > > > > > > > > > > > Missatge de Shawn Heisey <apa...@elyograg.org> del dia dv., 30 de des. > 2022 a les 21:40: > >> On 12/30/22 09:07, Carles Franquesa wrote: >> > I am trying to run a web app made with Netbeans 16 using Apache-Tomcat >> > 10.0.27 on Windows 11. It worked fine on Windows 10 with the same >> tomcat. >> > >> > Everything goes fine when starting the server (it takes just 625ms!) but >> > after that, when I try to debug the project, the next error is thrown: >> > >> > [image: enter image description here] < >> https://i.stack.imgur.com/1eTzY.png> >> >> Tomcat 10.0.27 only requires Java 8, but the netbeans call that is >> failing requires at least Java 9, and apparently is not correctly marked >> as such. >> >> https://github.com/apache/netbeans/issues/5134#issuecomment-1364282218 >> >> Upgrade to Java 11 and it will probably work. Java 17 probably will >> work too, but IMHO it's not a good idea to jump a lot of major versions >> past the minimum requirement. Java 11 seems to do a good job with code >> meant for Java 8. >> >> I don't know why it worked before with Windows 10. Maybe you had an >> earlier version of netbeans for that. >> >> FYI, the link above was the first hit on a google search for >> "URLEncoder.encode TomcatManagerImpl". >> >> Thanks, >> Shawn >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >>