以前没怎么用过eclipse,一直用的是MyEclipse,今天学着用了Eclipse Java EE ,出现了不少问题,特别是跟tomcat的结合,配置好后,访问http://locaohost:8080/,居然出现404错误。
原因是:从jee 版的eclipse里面启动tomcat,tomcat中的webapps下的工程就没法访问了,因为server项目里面有它自己的配置文件。
在tomcat的webapps里有一个ROOT文件,此文件中有一个index.html页面,不是从从jee 版的eclipse里面启动tomcat,访问http://locaohost:8080/,就是默认访问到index.html这个页面,但是,server里面根本没有ROOT这个文件,如果从jee 版的eclipse里面启动tomcat,访问http://locaohost:8080/,根本就访问不到ROOT下的index.html页面,所以就会出现404错误。
分享到:
相关推荐
Eclipse配置Tomcat服务器 该方法适合所有Eclipse版本,可参考:http://blog.csdn.net/guyuealian/article/details/50763109 【1】下载并成功安装了Eclipse和Tomcat: (1)Tomcat下载地址:...
Eclipse下配置tomcat,并不是tomcat插件,寻求tomcat插件配置的朋友可以不用看了,tomcat配置好以后可能出现http://localhost:8080/页面打不开,出现404错误的情况,这里面也有说明如何解决,这是我在做项目过程中...
开发软件:eclipse/myeclipse/idea Maven包:Maven3.3.9 浏览器:谷歌浏览器 Java配置环境链接:https://pan.baidu.com/s/1Dzpiqb46mrukQzXOEj3otw 提取码:0000 后台路径地址:localhost:8080/项目名称/admin/...
开发环境:jdk7+tomcat7+eclipse+mysql 使用技术:spring MVC+hibernate+spring+easyui Jdk(最好使用jdk7):http://pan.baidu.com/s/1gd8APVl Tomcat(最好使用tomcat7): http://pan.baidu.com/s/1gd8APVl Mysql...
Java开发环境的安装与配置手册 所需开发工具: JDK1.6 http://java.sun.com/javase/downloads/index.jsp Tomcat 6.0 http://apache.oregonstate.edu/tomcat/tomcat-6/v6.0.10/bin/apache-tomcat-6.0.10.zip ...
Eclipse插件TomcatPlugins v 3.2.1,下载地址:http://www.eclipse-plugins.info/eclipse/index.jsp。 Eclipse插件ResourceBundleEditor v 0.7.7,下载地址:http://resourcebundleeditor.com/。 Eclipse插件...
一、系统环境配置 开发环境:jdk7+tomcat7+eclipse+mysql 使用技术:spring MVC+hibernate+spring+easyui Jdk(最好使用jdk7):http://pan.baidu.com/s/1gd8APVl Tomcat(最好使用tomcat7): ...
eclipse plugin tomcat http://blog.csdn.net/yuanfei_1988 link安装方式
Eclipse Java EE IDE for Web Developers. Version: Kepler Service Release 2 Build id: 20140224-0627 (c) Copyright Eclipse contributors and others 2005, 2014. All rights reserved. Visit ...
压缩包内包含《Java Web程序设计任务教程》教材第13-15章的教材资源,即传智书城项目,包括数据库文件。 说明文件: 【代码相关】 语言:java 【运行环境】 jdk1.8+tomcat8+mysql8 【运行说明】 1、将系统源码导入...
用eclipse学习公司技术的时候无意中发现http://localhost:8080 这样是访问不了tomcat页面的,
jdk+tomcat+Eclipse(JAVA环境开发配置)里面收集了几种,都可供参考,我开始配置环境也用了很长时间,需要静下心来,慢慢来!
eclipse :配置tomcat:http://programmer.ischoolbar.com/index.php/article/article/id/10.html jdk7和jdk8都可以,其他的没试过 tomcat7 MySQL:管理工具:navicat:...
在links目录下新建一个tomcat.link文件内容为plugin下tomcat插件的目录如 F:\eclipse\plugins\com.sysdeo.eclipse.tomcat_3.2.1 4.配置完后打开eclipse就会出现tomcat小图标了,然后在windows->Preferences里配置...
Eclipse插件TomcatPlugins v 3.2.1,下载地址:http://www.eclipse-plugins.info/eclipse/index.jsp。 Eclipse插件ResourceBundleEditor v 0.7.7,下载地址:http://resourcebundleeditor.com/。 Eclipse插件...
3、eclipse(不要最新版) 4、mysql 5.5以上 配置了拦截器,可以先访问看是否拦截登陆(答辩的时候是亮点) 网站访问地址:http://localhost:8080/tourism-system/index 网站用户登录:...
系统名称:高校寝室管理系统 开发工具:eclipse 开发语言:Java Spring SpringMVC Mybatis VUE 数据库:MySql tomcat端口:8080 访问地址:http://localhost:8080/dormManage/
Eclipse插件TomcatPlugins v 3.2.1,下载地址:http://www.eclipse-plugins.info/eclipse/index.jsp。 Eclipse插件ResourceBundleEditor v 0.7.7,下载地址:http://resourcebundleeditor.com/。 Eclipse插件...