日期:2014-05-17  浏览次数:21101 次

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