KempesGit opened a new issue, #5154: URL: https://github.com/apache/netbeans/issues/5154
### Apache NetBeans version Apache NetBeans 16 ### What happened During project start I got error: Starting Tomcat process... Waiting for Tomcat... Tomcat server started. Incrementally deploying http://localhost:8080/Generator_Best Completed incremental distribution of http://localhost:8080/Generator_Best Incrementally redeploying http://localhost:8080/Generator_Best C:\Users\artur\OneDrive\Documents\NetBeansProjects\Generator_Best\nbproject\build-impl.xml:1063: java.lang.NoSuchMethodError: java.net.URLEncoder.encode(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String; at org.netbeans.modules.tomcat5.deploy.TomcatManagerImpl.encodePath(TomcatManagerImpl.java:336) at org.netbeans.modules.tomcat5.deploy.TomcatManagerImpl.remove(TomcatManagerImpl.java:232) at org.netbeans.modules.tomcat5.optional.TomcatIncrementalDeployment.incrementalDeploy(TomcatIncrementalDeployment.java:99) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:706) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:221) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:141) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:86) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1254) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:573) at org.netbeans.core.execution.RunClassThread.doRun(RunClassThread.java:132) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:81) BUILD FAILED (total time: 15 seconds) ### How to reproduce _No response_ ### Did this work correctly in an earlier version? Apache NetBeans 15 ### Operating System Windows 10 ### JDK 8.231 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else Tomcat 9.0.68 ### Are you willing to submit a pull request? Yes ### Code of Conduct Yes -- 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
