You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/12/26 19:20:49 UTC

[GitHub] [netbeans] KempesGit opened a new issue, #5154: NetBeans 16 doesn't redeploy project on Tomcat 9.

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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] matthiasblaesing closed issue #5154: NetBeans 16 doesn't redeploy project on Tomcat 9.

Posted by GitBox <gi...@apache.org>.
matthiasblaesing closed issue #5154: NetBeans 16 doesn't redeploy project on Tomcat 9.
URL: https://github.com/apache/netbeans/issues/5154


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] cesarcip commented on issue #5154: NetBeans 16 doesn't redeploy project on Tomcat 9.

Posted by GitBox <gi...@apache.org>.
cesarcip commented on issue #5154:
URL: https://github.com/apache/netbeans/issues/5154#issuecomment-1367492710

   Tested Apache NetBeans IDE DEV (Build dev-426207b4622d355d5206e6e2c6e6085db1474b99). No error for me. Project deployed to Tomcat without errors.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] matthiasblaesing commented on issue #5154: NetBeans 16 doesn't redeploy project on Tomcat 9.

Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #5154:
URL: https://github.com/apache/netbeans/issues/5154#issuecomment-1367436361

   Please have a look at the referenced PR. There is also a test build availble.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] cesarcip commented on issue #5154: NetBeans 16 doesn't redeploy project on Tomcat 9.

Posted by GitBox <gi...@apache.org>.
cesarcip commented on issue #5154:
URL: https://github.com/apache/netbeans/issues/5154#issuecomment-1366786523

   Same exception with Ubuntu 22.04, OpenJdk 11, Tomcat 10.1.4, Netbeans 16, when runing project deployed to Tomcat.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists