How to import jars into web projects
Hi,
I created a web project and added the needed jars in the "module settings" -> "Libraries", and it's ok when in editor,but when deploy the project, the console shows that can't find the classes in the jars added.
I had to put the jars into the projects dir\web\WEB-INF\lib dir.
Is there some configures to make it automatically?
thanks a lot
请先登录再写评论。
Hi Yang,
You should configure corresponding Artifact for your web module. Feel free to check IDEA help for more details about that - Web, EJB and Java EE Application Facets -> Create Artifact.
Denis
thanks very much, I got it ~~~~
have a nice day~