java - Setting up Tomcat in Eclipse on Ubuntu -


i'm trying setup tomcat in eclipse. i've followed tutorial on how install tomcat , i'm able see default tomcat page @ localhost:8080.

what need setup tomcat on eclipse.

i following:

window->preferences->server->runtime environment->add->"apache tomcat v8.5" 

as tomcat's installation directory enter /opt/tomcat, specified in tutorial linked above in step 3: install tomcat:

we install tomcat /opt/tomcat directory. create directory, extract archive [...]

but following error:

unknown version of tomcat specified.

as can seen here:

enter image description here

some more infos:

  • tomcat 8.5.20
  • eclipse java ee ide web developers (4.7.0)
  • ubuntu 17.04

update:

when check permission ls -ltra /opt/tomcat output:

total 124 drwxr-x---  7 tomcat tomcat  4096 aug  2 23:36 webapps -rw-r-----  1 tomcat tomcat 15946 aug  2 23:36 running.txt -rw-r-----  1 tomcat tomcat  7064 aug  2 23:36 release-notes -rw-r-----  1 tomcat tomcat  1723 aug  2 23:36 notice -rw-r-----  1 tomcat tomcat 57092 aug  2 23:36 license drwxr-xr-x  6 root   root    4096 aug 11 17:56 .. drwxr-x---  2 tomcat tomcat  4096 aug 11 17:56 lib drwxr-x---  2 tomcat tomcat  4096 aug 11 17:56 bin drwxr-x---  2 tomcat tomcat  4096 aug 12 14:53 .oracle_jre_usage drwxr-xr-x 10 tomcat tomcat  4096 aug 12 14:53 . drwxr-x---  3 tomcat tomcat  4096 aug 12 14:53 work drwxr-x---  3 tomcat tomcat  4096 aug 12 15:01 conf drwxr-x---  2 tomcat tomcat  4096 aug 14 17:21 temp drwxr-x---  2 tomcat tomcat  4096 aug 14 17:21 logs 

you don't want eclipse , production installation of tomcat mix. straightforward thing download tarball http://tomcat.apache.org/ , unpack it, , point server->runtime environments preference page @ that. lets sidestep file permission issues long make sure don't try use same ports.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -