当前位置: 代码迷 >> ASP >> ubuntu9.10 eclipse 配置tomcat出现的有关问题"It is missing expected file or folder lib/jaspe
  详细解决方案

ubuntu9.10 eclipse 配置tomcat出现的有关问题"It is missing expected file or folder lib/jaspe

热度:838   发布时间:2012-09-12 09:21:30.0
ubuntu9.10 eclipse 配置tomcat出现的问题"It is missing expected file or folder lib/jaspe

系统ubuntu9.10,
tomcat6,
Eclipse Java EE IDE for Web Developers,

在eclipse配置tomcat6设置tomcat6的目录时出现
“It is missing expected file or folder lib/jasper-el.jar.“

原因是:tomcat是用新立得软件包安装的,所以tomcat文件放得比较乱,不是放在一个目录下的,所以eclipse会认用你的tomcat不完整

解决办法一:到tomcat的官方下载个tomcat的gz包解压即可用

解决办法二:

cd /usr/share/tomcat6
sudo ln -s /var/lib/tomcat6/conf conf
sudo ln -s /etc/tomcat6/policy.d/03catalina.policy conf/catalina.policy
sudo ln -s /var/log/tomcat6 log
sudo chmod -R 777 /usr/share/tomcat6/conf

?把tomcat路径设置为 /usr/share/tomcat6

  相关解决方案