title: Handling libraries in correct way
body: <p>I'm new to Intellij. I've created a maven project and I'm playing around adding different kind of frameworks to the project. I'm using JBoss wildfly.</p>
  
  <p>I'm having problem with the web application framework. Its creating web.xml and all the necessary folders. But when I try to create a Servlet I get an error saying that "javax.servlet.http" does not exist upon trying to compile the application.</p>
  
  <p>I'm pretty sure the JBoss Wildfly application has the serlvet api but I'm not sure how to add all those libraries to the project. I could add them manually but I don't think that is the correct way to do it. All the necessary web application api should be available by default give that you have chosen the right frameworks.</p>
  
  <p>What am i doing wrong?</p>
  
  <p>Edit: Ok I've managed to find all the API inside of the wildfly folder. But It feels very clunky to be forced to add servlet API manually. Intellij adds all the api for web application when you create a project and add application server - > Wildfly. But you when you create a maven project and add web application framework servlet api is not added to project libraries.</p>