• 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Valid directory for tomcat

 
Ranch Hand
Posts: 123
  • 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: 22273
151
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.
 
Master Rancher
Posts: 3876
35
  • 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: 123
  • 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
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic