新手学习,创建一个网络项目时遇到的的tomca问题,谢谢指导

新手学习中,当我在用eclipes ee 4.5 时,如果数据库打开的话,tomcat 8.0总是出现已被占用,出现这样的信息:Port 8080 required by Tomcat v8.0 Server at localhost is 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).请问怎么解决????谢谢指导

一般数据库不会使用8080端口,是否是因为你的数据库和其他服务绑定一起启动了,而那个服务占用了8080端口。前提一定是启动数据库才会出现此问题

在配置文件server.xml中把默认端口改成其他就可以了

你是不是启动过tomcat,在console窗口上边框找一个红色的方块按钮,就是关闭tomcat的。
不行就cmd中netstat -aon|findstr 8080查看是哪个进程占用了8080端口,然后关闭进程。
最极端的方法就是在资源管理器中关闭javaw.exe进程(Eclipse也会被关闭),然后在启动试试。