您的位置:首页 > 编程语言 > Java开发

Eclipse使用笔记和问题记录

2013-10-21 16:09 176 查看

1.在Eclipse中导入dtd和xsd文件,使XML自动提示

DTD 类型约束文件
1. Window->Preferences->XML->XML Catalog->User Specified Entries窗口中,选择Add 按纽
2.在Add XML Catalog Entry 对话框中选择或输入以下内容:
Location: F:/soft/programmingSoft/Framework/Ibatis/sql-map-config-2.dtd
Key Type: URI
KEY: http://ibatis.apache.org/dtd/sql-map-config-2.dtd

XSD 类型约束文件

1. Window->Preferences->XML->XML Catalog->User Specified Entries窗口中,选择Add 按纽
2.在Add XML Catalog Entry 对话框中选择或输入以下内容:
Location: F:/soft/programmingSoft/Framework/Spring/spring-framework-2.5.6.SEC01-with-dependencies/spring-framework-2.5.6.SEC01/dist/resources/spring-beans-2.5.xsd
Key Type: Schema Location
KEY: http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

2.Eclipse Variable窗口

深入Eclipse Variable窗口。

3.An existing resource has been found at location D:\apache-tomcat-7.0.55\webapps\demo\

右击项目名 ---> 点击properties --> 在搜索栏里 输入 WEB -->点击WEB

-->修改Web Context-root 里当前项目名称 -->OK 重新发布 即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: