eclipse中安装tomcat插件重启后工具栏不显示tomcat图标问题以及tomcat中加载工程的配置
来源:互联网 发布:python自动化测试工具 编辑:程序博客网 时间:2024/05/16 15:03
1.下载tomcat 插件
首先下载 对应 eclipse 版本的 tomcat 插件版本,(这里要注意: Tomcat 插件是Tomcat 插件,Tomcat 是 Tomcat, 两者不能混淆!),下载地址:http://www.eclipsetotale.com/tomcatPlugin.html2.安装方法(见所下插件安装包中的readme文件,这里是最新的插件3.3.0)Installation
- This plugin does not contain Tomcat.
(Download and install Tomcat before using it) - Download tomcatPluginV??.zip
- Unzip it in <eclipse_home>/plugins
- Plugin activation for Eclipse 3.x :
- launch eclipse once using this option : -clean
- if Tomcat icons are not shown in toolbar : select menu 'Window>Customize Perspective...>Commands', and check 'Tomcat' in 'Available command groups' - Set Tomcat version and Tomcat home : Workbench -> Preferences, select Tomcat and set Tomcat version and Tomcat home
(Tomcat version and Tomcat home are the only required fields, other settings are there for advanced configuration). - This plugin launches Tomcat using the default JRE checked in Eclipe preferences window.
To set a JDK as default JRE for Eclipse open the preference window : Window -> Preferences -> Java -> Installed JREs.
This JRE must be a JDK (This is a Tomcat prerequisite). - The plugin sets itself Tomcat classpath and bootclasspath. Use Preferences -> Tomcat ->JVM Settings, only if you need specific settings.
将得到的压缩包解压,放入 eclipse 的 plugins 目录中重启 eclipse, Tomcat 插件安装成功!如此时eclipse工具栏中的tomcat图标仍未显示,可在cmd窗口,进入安装eclipse的文件夹,然后使用 “eclipse.exe -clean”命令启动eclipse重新加载工具栏即可。如下图:
3.修改tomcat配置文件(注:以下为tomcat配置与上文无关)
修改tomcat安装文件中conf文件夹下的server.xml文件:
1.添加 URIEncoding="utf-8"/> 防止中文乱码。
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="utf-8"/>
connectionTimeout="20000"
redirectPort="8443" URIEncoding="utf-8"/>
2.后面添加项目路径配置:
<Context path="/econtract" docBase="G:\workspace\econtract\WebContent" reloadable="true" />
0 0
- eclipse中安装tomcat插件重启后工具栏不显示tomcat图标问题以及tomcat中加载工程的配置
- eclipse中加入tomcat插件后不出现小猫图标
- eclipse中加入tomcat插件后不出现小猫图标
- 为Eclipse安装Tomcat插件,不出现Tomcat图标
- TOMCAT环境安装,以及eclipse中配置tomcat
- Eclipse中配置Tomcat插件
- Eclipse中配置Tomcat插件
- Eclipse中tomcat插件配置
- eclipse配置tomcat图标在工具栏
- Eclipse中安装TomCat插件
- eclipse中安装tomcat插件
- eclipse中安装tomcat插件
- eclipse中安装tomcat插件
- Eclipse中tomcat插件安装
- Eclipse中安装Tomcat插件
- eclipse中安装tomcat插件
- Eclipse中安装Tomcat插件
- eclipse中安装tomcat插件
- 安装完Oracle 11g之后启动SQL Developer 时报cannot find a j2se sdk错误的解决办法
- Cash Machine
- 成员函数指针以及C++委托
- Android基础系列----------- Application的作用
- linux 查看端口是否被占用
- eclipse中安装tomcat插件重启后工具栏不显示tomcat图标问题以及tomcat中加载工程的配置
- ArcGIS支持实时地理信息系统
- oracle存储过程中的if...elseif...else用法
- servlet过滤器Filter入门(转,有自己的例子)
- solr的安装和配置
- 编程
- Sonatype Nexus 搭建Maven 私服
- [黑马程序员]tcpdemo3
- Oracle循环语句