• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Valid directory for tomcat

 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the valid tomcat directory in Windows?

I tried to configure apache-maven in Idea in C:\Program Files

But receive: "The selected directory is not a valid tomcat home"
 
Saloon Keeper
Posts: 21981
150
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apache Maven, Apache Tomcat, and Idea IntelliJ are 3 different products. They should live in 3 different directories.

Usually in Windows, I'd expect to find Maven and Tomcat living in their respective directories under "C:\Program Files". But  in fact, neither of those products actually cares where you put them. You can just as easily put them in your home directory, for example, although if you're planning to run Tomcat as a Windows Service, then you're better off doing what Windows wants. Tomcat, as I said, doesn't care. In fact, you can have 2 or 3 different versions of Tomcat installed and running on your computer at the same time.

When using IntelliJ to interact with Maven and Tomcat, you have to tell IntelliJ where the Maven and Tomcat base directories are so that it can run them, but that's an IntelliJ thing.
 
Rancher
Posts: 3722
34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My tomcat directory:
D:\apache-tomcat-8.5.46
 
Andrey Dmitriev
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
   Thank you! It s a foolishness, but I mixed up Apache Maven and Apache Tomcat
 
Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic