1,
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: ...
2,
Tomcat6和Eclipse一起使用时,启动时控制台会有下面警告信息
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:...' did not find a matching property.
出现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"选项。
不过"Publish module contexts to separate XML files"究竟是什么意思,有必要看下"Tomcat Publishing Options"。
3,
Tomcat6和Eclipse一起使用时,启动或者发布项目时提示Publishing failed:Resource /xxxx does not exist
解决方法:
刷新一下项目,有可能是磁盘文件和Eclipse项目中文件不一致造成的
(吃了半天的亏)