httpeter opened a new issue, #5261:
URL: https://github.com/apache/netbeans/issues/5261

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   I opened Faces (JSF+Primefaces) app that I developed with NB15 on NB16 and 
wanted to run it. Tomcat8 starts up fine, code compiles but normally NB starts 
up my browser and opens the URL. Now it does not and the application is not 
present at it's normal localhost URL. Also NB16 shows the following error:
   
   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.deploy.TomcatManager.undeploy(TomcatManager.java:674)
        at 
org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:649)
        at 
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:221)
        at 
org.netbeans.modules.maven.j2ee.execution.DeploymentHelper.perform(DeploymentHelper.java:185)
        at 
org.netbeans.modules.maven.j2ee.execution.CoSAlternativeExecutorImpl.execute(CoSAlternativeExecutorImpl.java:67)
        at 
org.netbeans.modules.maven.cos.CoSAlternativeExecutor.execute(CoSAlternativeExecutor.java:64)
        at 
org.netbeans.modules.maven.cos.CosChecker.checkRunMainClass(CosChecker.java:185)
        at 
org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:139)
        at 
org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:240)
        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)
   [catch] at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:81)
   
   
   ### How to reproduce
   
   -
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 15
   
   ### Operating System
   
   OSX 10
   
   ### JDK
   
   8
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   Every time this problem occurs. On NB15 there are no problems.
   
   ### 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

Reply via email to