Intellij does not recognize WildFly libraries like eclipse?

Answered

I created a Intellij project with JAva EE support, I didn't set it to download any jar. 

E copied some classes with @ViewScoped and other with @Entity from eclipse project.

This anotations is not recognized automatically and I have WildFly added in the dependecies settings of the module.

Whe in Eclipse, if I have server dependecies added, then it's recognized automatically. Is this process differente in Intellij?

I will need to download the dependecies again?

1 comment
Comment actions Permalink

IntelliJ IDEA adds only minimal set of the server jars when you configure the app server. If you need to use more libraries provided by the app server, edit it in https://www.jetbrains.com/help/idea/2016.2/application-servers-2.html#libs. Add the required jars there.

0

Please sign in to leave a comment.