Ubuntu9.10下tomcat和eclipse问题
-
- 帖子: 5
- 注册时间: 2009-06-08 21:32
Ubuntu9.10下tomcat和eclipse问题
我用的是ubuntu9.10新立得里的tomcat和eclipse.在eclipse-->Window-->Preferences-->Server Runtime environments 下配置tomcat6时
Tomcat installation directory设为/usr/share/tomcat6时报错“ The Tomcat installation directory is not valid. It is missing expected file or folder conf.”
Tomcat installation directory设为/usr/share/tomcat6/bin时或"/usr/share/tomcat6/bin"时报错" The Tomcat installation directory is not valid. It is missing expected file or folder lib/jasper-el.jar."
希望有配置成功的朋友给个详细的解决办法。最好有出错的原因..
Tomcat installation directory设为/usr/share/tomcat6时报错“ The Tomcat installation directory is not valid. It is missing expected file or folder conf.”
Tomcat installation directory设为/usr/share/tomcat6/bin时或"/usr/share/tomcat6/bin"时报错" The Tomcat installation directory is not valid. It is missing expected file or folder lib/jasper-el.jar."
希望有配置成功的朋友给个详细的解决办法。最好有出错的原因..
-
- 帖子: 5
- 注册时间: 2009-06-08 21:32
Re: Ubuntu9.10下tomcat和eclipse问题
希望我明天起床就可以解决问题了~~~
-
- 帖子: 289
- 注册时间: 2008-11-07 3:42
Re: Ubuntu9.10下tomcat和eclipse问题
难道是没安java?
- wangdu2002
- 帖子: 13284
- 注册时间: 2008-12-13 19:39
- 来自: 物华天宝人杰地灵
Re: Ubuntu9.10下tomcat和eclipse问题
先whereis瞧下tomcat的可执行文件在哪,可能在/usr/bin下也难说。。。
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
海内生明月,天涯共此夕。
--------------------吾本独!
-
- 帖子: 5
- 注册时间: 2009-06-08 21:32
Re: Ubuntu9.10下tomcat和eclipse问题
Java那是先装了的.终端下也java -version了的.mckeyu 写了:难道是没安java?
tomcat也是OK的.http://localhost:8080也是有的.
-
- 帖子: 5
- 注册时间: 2009-06-08 21:32
Re: Ubuntu9.10下tomcat和eclipse问题
tomcat在这里--wangdu2002 写了:先whereis瞧下tomcat的可执行文件在哪,可能在/usr/bin下也难说。。。
/.
/var
/var/log
/var/log/tomcat6
/var/lib
/var/lib/tomcat6
/var/lib/tomcat6/webapps
/var/cache
/var/cache/tomcat6
/etc
/etc/tomcat6
/etc/tomcat6/Catalina
/etc/tomcat6/Catalina/localhost
/etc/tomcat6/catalina.properties
/etc/tomcat6/logging.properties
/etc/tomcat6/context.xml
/etc/tomcat6/server.xml
/etc/tomcat6/tomcat-users.xml
/etc/tomcat6/web.xml
/etc/tomcat6/policy.d
/etc/tomcat6/policy.d/01system.policy
/etc/tomcat6/policy.d/02debian.policy
/etc/tomcat6/policy.d/03catalina.policy
/etc/tomcat6/policy.d/04webapps.policy
/etc/tomcat6/policy.d/50local.policy
/etc/default
/etc/default/tomcat6
/etc/init.d
/etc/init.d/tomcat6
/etc/cron.daily
/etc/cron.daily/tomcat6
/usr
/usr/share
/usr/share/doc
/usr/share/doc/tomcat6
/usr/share/doc/tomcat6/copyright
/usr/share/doc/tomcat6/changelog.Debian.gz
/usr/share/tomcat6
/usr/share/tomcat6/webapps
/usr/share/tomcat6/webapps/default_root
/usr/share/tomcat6/webapps/default_root/META-INF
/usr/share/tomcat6/webapps/default_root/META-INF/context.xml
/usr/share/tomcat6/webapps/default_root/index.html
/var/lib/tomcat6/logs
/var/lib/tomcat6/work
/var/lib/tomcat6/conf
-
- 帖子: 5
- 注册时间: 2009-06-08 21:32
Re: Ubuntu9.10下tomcat和eclipse问题
$ whereis tomcat6
tomcat6: /etc/tomcat6 /usr/share/tomcat6
这两个目录都试过了。不行。
tomcat6: /etc/tomcat6 /usr/share/tomcat6
这两个目录都试过了。不行。
-
- 帖子: 21
- 注册时间: 2007-05-12 9:23
Re: Ubuntu9.10下tomcat和eclipse问题
新立得安装的tomcat6文件分布在不同目录下面 lib和配置文件和log文件等等都不在一起,所以eclipse提示找不到文件xmsroy 写了:我用的是ubuntu9.10新立得里的tomcat和eclipse.在eclipse-->Window-->Preferences-->Server Runtime environments 下配置tomcat6时
Tomcat installation directory设为/usr/share/tomcat6时报错“ The Tomcat installation directory is not valid. It is missing expected file or folder conf.”
Tomcat installation directory设为/usr/share/tomcat6/bin时或"/usr/share/tomcat6/bin"时报错" The Tomcat installation directory is not valid. It is missing expected file or folder lib/jasper-el.jar."
希望有配置成功的朋友给个详细的解决办法。最好有出错的原因..
解决办法是自己到apache官网下个tomcat下来就可以了 ,
-
- 论坛版主
- 帖子: 21308
- 注册时间: 2007-08-02 20:29
- 系统: 窓辺とうこ
Re: Ubuntu9.10下tomcat和eclipse问题
建议去官方下解压就能用的那种,不要源里安装的
-
- 帖子: 43
- 注册时间: 2009-03-22 11:10
Re: Ubuntu9.10下tomcat和eclipse问题
楼上正解,自己去下个zip包,解压缩就能用!