eclipse中,在讲项目发布到tomcat上的时候跳出:Could not publish server configuration for Tomcat 6.0 at localhost.

  Multiple Contexts have a path of "/FlexNet".这是由eclipse在调试的时候超过了45秒的原因.

解决方法:

 

 

1. 修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<servers>
  <server auto-publish-setting="2" auto-publish-time="1" configuration-/>
  </server>
</servers>

把 start-timeout="45" 改为 start-timeout="1000" 或者更长
2. 重启eclipse就可以了。

相关文章:

  • 2021-09-18
  • 2021-12-24
  • 2021-09-07
  • 2021-06-13
  • 2021-09-01
猜你喜欢
  • 2021-05-17
  • 2021-04-04
  • 2021-09-14
  • 2021-09-25
  • 2021-12-09
相关资源
相似解决方案