在ubuntu下,在eclipse中設定“Runtime Environment”, 配置tomcat時,提示“eclipse tomcat unknown version of tomcat was specified”。
網上的解決辦法都不行啊,摸索半天,才意識到可能是權限問題,因為配置tomcat需要通路tomcat目錄下的lib庫。
在網上找到一名部落客小白羊的文章,特别感謝
http://www.linuxdiyf.com/linux/28402.html
通過如下指令:
chmod -R 777 apache-tomcat-xxx/lib
擷取權限,然後就好了。
在此記錄一下,希望同行們少走彎路啊。