我正在将http://www.eclipse.org/equinox/server/http_in_container.php中的 sample.http导入 eclipse ,使用 tomcat 7 作为服务器(Linux 平台)。它显示了几个问题,例如:
BundleActivator cannot be resolved to a type
No available bundle exports package 'javax.servlet.http'
以及由于未导入插件依赖项而导致的几个此类错误。(如果我尝试使用 tomcat 6,它可以工作)。有人可以指出我应该做哪些改变以使依赖项与 tomcat 7 兼容?