Pular para o conteúdo

How to add a Server Runtime Library to a Java EE project using IntelliJ IDEA

novembro 13, 2014

After I have some difficult to add server libraries to the project, because in IntelliJ is a lit bit different from Eclipse, I’ve decided to post the solution:

After the project has been opened you will need go in File -> Project Structure.

Featured image

After that you’ll see the structure of project. In this way, where you need to add a dependency. In the left side column you’ll choose modules in Project Settings, choose Dependencies tab(1), to click on + in the bottom of window and select Library… (2), like below.

Featured image

When you click on Library… it will open a window asking you to select the server libraries.

IntelliJ will show only the servers that you have added before.

Featured image

After all of this steps your project will rebuild the project and problems related with compile time should be solved.

Finally your project will be this way.

Featured image

Any problems that you have, ask me.


From → Java

One Comment
  1. Excellent! thanks =)

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair /  Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair /  Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair /  Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair /  Alterar )

Conectando a %s

%d blogueiros gostam disto: