Several ports (8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).我装了Tomcat,也能通过http://localhost:8080访问。
就是不能运行Web项目。
是不是我装了Netbeans和Eclipse有冲突?
就是不能运行Web项目。
是不是我装了Netbeans和Eclipse有冲突?
就是端口的问题不是其它的问题
C:\>netstat -aon|findstr "9898" TCP 0.0.0.0:9898 0.0.0.0:0 LISTENING 14988然后到任务管理器中找到pid = 14988的 干掉
C:\>netstat -aon|findstr "9898" TCP 0.0.0.0:9898 0.0.0.0:0 LISTENING 14988然后到任务管理器中找到pid = 14988的 干掉
怎么为tomcat设置一个新的端口?
我的任务管理器中没有java、javaw。
另外一个办法是:在tomcat的根目录下的conf文件夹中有一个名为server.xml的文件,打开它,你会发现里面有这样的语句:<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/><Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>你把其中的8080和8009改成别的然后保存,再重新运行tomcat应该就可以了
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"/>
你没有在eclips中你的项目 run-as run on server中配置服务器。
在CSDN发帖怎么插入本地图片,你那滚动条怎么弄的?