Web Application classes/jar

Dear All,

For the Web Application feature, the only classes that IntelliJ recognises by standard are tag libraries defined in the web.xml / tlds.

Any classes located in the WEB-INF/classes or jars in the WEB-INF/lib directory aren't located by default. Is this an omission/bug or is there any way to enable this automatically?

Regards,
Peter Dolukhanov

1 comment
Comment actions Permalink

I'd call it a feature and not a bug :)
In the Run/Debug configuration of your web app click the check box "Include project classpath". This will load your classes and libs without forcing you to deploy them to the WEB-INF-folder.

0

Please sign in to leave a comment.