您的位置:首页 > 运维架构 > Tomcat

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

2017-05-10 14:06 344 查看
问题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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  eclipse tomcat j2ee
相关文章推荐