警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property
'source' to 'org.eclipse.jst.jee.server:TestTomcat6.0.16' did not find a
matching property 收藏
The APR based Apache Tomcat Native library which allows
optimal performance in production environments was not found on the
java.library.path: c:\Program
Files\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:/study
tools/Java/jdk1.5.0_06/bin/../jre/bin/client
在网上查找答案,有的说将Tomcat的版本换成6.0.14就可以了;还有的说在建立Dynamic Web Project时把"Dynamic Web
Module"选项后面的版本号由2.5改成2.4也行。不过这些回答好像都不能真正地解决问题。
出现SetPropertiesRule警告的原因是因为Tomcat在server.xml的Context节点中不支持source属性:<Context
docBase="…" path="/…" source="org.eclipse.jst.j2ee.server:…"/>
注意:
解决方法是在Servers视图里双击创建的server,然后在其server的配置界面中选中"Publish
module contexts to separate XML files"选项。
使用上面红色字的方法决绝了上面的问题
debug属性具体配置在web.xml中,如下
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
具体“Publish module contexts to separate XML files”是什么意思,
请看Tomcat Publishing Options介绍:
Two new options which affect publishing are now available in the Server
Options section of the Tomcat server editor. The Tomcat server must be 5.0.x or
later for these options to be enabled. The Serve modules without publishing
option does what it says. Web content will be served directly from the
"WebContent" folder of the Dynamic Web Project. A customized context is used to
make the project's dependencies available in the Web application's classloader.
The Publish module contexts to separate XML files option will publish contexts
using the preferred method of separate XML files under the
"conf/Catalina/localhost" directory, rather than keeping them in the
"server.xml" file. A couple of improvements for this option are noted in Bugs
180931 and 180936.
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/jinxinxin1314/archive/2009/08/11/4433134.aspx
分享到:
相关推荐
eclipse 3.5 官方简体中文包,内附使用方法
Eclipse3.5汉化包及使用说明 Eclipse3.5汉化包及使用说明 Eclipse3.5汉化包及使用说明
eclipse3.5汉化包
eclipse3.5全功能中文语言包 eclipse3.5全功能中文语言包 eclipse3.5全功能中文语言包
eclipse3.5反编译插件、方法及工具,eclipse3.5+jadEclipse,eclipse3.5+jd-Eclipse,jd-gui-0.3.3.windows工具(个人总结,试过是ok的)
Eclipse 3.5(Galileo)安装SVN插件
visual editor for eclipse 3.5 在eclipse 目录新建dropins 然后将下载的zip加压到该目录就OK
对Eclipse3.5和3.6版本都可以汉化,本人汉化过Eclipse3.6,里面有汉化配置说明
eclipse3.5的中文包,使用方法与平时的插件使用有些差别,使用前请阅读内附后的使用说明!
swtdesigner for Eclipse3.5 以及安装文档
eclipse 3.5(Galileo)中文包 也可加入如下更新地址 http://download.eclipse.org/technology/babel/update-site/galileo 另外压缩包内附有多个插件更新地址。
eclipse3.5安装并破解windowbuilder7.3 安装 下载 验证安装成功 运行 接下来就是激活
WindowBuilder+eclipse3.5.x整合使用
包含easyexplore、jalopy、propertiesEditor、run-jetty-run、spket、tomcatv3,经测试,eclipse3.4,eclipse3.5及以上版本可用。下载后直接解压覆盖dropins文件夹即可。
在这两天中偶尔一次机会用Eclipse3.5安装Google插件成功了,决定用Eclipse3.5然后安装Myeclipse8.5,但是Myeclipse8.5已经集成了Eclipse3.5,然后就上搜索将两者集成的方法,最后无果而返,最后看到一篇Eclipse3.4与...
SWTDesigner_v7.4.0_for_Eclipse3.5--1 SWTDesigner_v7.4.0_for_Eclipse3.5--2 我只有20M的上传权限,所以分开了。 SWTDesigner_v7.4.0_for_Eclipse3.5--1:保存features所有文件,plugins保存部分文件。 SWT...
适用于eclipse3.5的VE1.4插件,需配合emf和GEF一起使用。使用link方法先安装emf和GEF,再打开eclipse使用离线安装方法安装VE1.4,具体安装步骤请自行研究。
绝对是从官网下载的中文包,是最新版本eclipse 3.5.1的中文包,解压后会得到一个eclipse文件夹,此文件夹中有两个子文件夹,把这两个子文件夹复制粘贴到你安装eclipse的目录下即可,由于你安装Eclipse的目录下本来有...
SWTDesigner_v7.4.0_for_Eclipse3.5--1 SWTDesigner_v7.4.0_for_Eclipse3.5--2 我只有20M的上传权限,所以分开了。 SWTDesigner_v7.4.0_for_Eclipse3.5--1:保存features所有文件,plugins保存部分文件。 SWT...
文件已经设置好,解压后直接放在Eclipse的安装目录下即可汉化。享受吧