ampEducator opened a new issue, #6334: URL: https://github.com/apache/netbeans/issues/6334
### Apache NetBeans version Apache NetBeans 18 ### What happened When editing a JSP I get the line 'Servlet API classes are not on the classpath, some scriplet features are disabled.' Running the code is fine, the JSP is compiled and runs properly. HTML highlighting / completion works, Tag highlighting / completion work, JS highlight works, it's anything in a Java block <% .... %> that is disabled. I've looked through the project.properties file and can see that j2ee.platform.classpath is set properly and I also confirmed that j2ee.server.home is correct and pointing to the Tomcat 10 folder. I can see that Tomcat is included in the library folder and it contains the servlet-api jar. I've also tried to add the built it Jakarata EE 10 API and / or Jakarte EE 10 Web API libraries which doesn't work. Using Netbeans 18 with Tomcat 10.1.11, Open JDK 17 (17.0.7) on Linux (Ubuntu 18.04.6) . We were previously using Netbean 8.2 with Tomcat 8.5 and the JSP editor was fine. I'm happy to provide any other information / details. I downloaded Netbeans 18 zip folder. I thought maybe this was the issue so I also tried with the installer and same results.  ### How to reproduce Create a new Java App with Ant -> Java Web -> Web Application using the Tomcat Server 10.1 and Jakarta EE 10. Add a new JSP. Edit the JSP. Editing anything in Java block <% ..... %> produces the error. ### Did this work correctly in an earlier version? Apache NetBeans 13 or earlier ### Operating System Linux ### JDK OPEN JDK 17.0.7 ### Apache NetBeans packaging Apache NetBeans provided installer, Apache NetBeans binary zip ### Anything else _No response_ ### Are you willing to submit a pull request? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
