使用Eclipse启动Tomcat8时出现 'Starting Tomcat v8.0 Server at localhost' has encountered a problem.

来源:互联网 发布:网络电视机如何使用 编辑:程序博客网 时间:2024/05/20 11:51
  • 问题1:
    使用Eclipse启动Tomcat8时出现 ‘Starting Tomcat v8.0 Server at localhost’ has encountered a problem.Several ports (8005, 8009,8080) required by Tomcat v6.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).

  • 解决:启动任务管理器,结束javaw.exe进程


  • 问题2:spring 3.2.2后springjdbc中不用queryForInt

  • 解决:spring 3.2.2之后,jdbctemplate中的queryForInt已经被取消了,可以用queryForObject代替


  • 问题3:ajax在google浏览器上失效的解决方案

  • 解决:google chrome是由于某种安全策略的需要,禁止访问本地的ajax资源!使用本机IP来访问SERVER端,而不要使用127.0.0.1或者是localhost

0 0
原创粉丝点击