Reputation: 1045
I cant run a simple JSF project in IDEA. Where am I wrong? At first I created project with maven and it didn't work. Next I tried to create a project via the standard menu:
And I got:
When I try to run it I get a HTTP 404
tomcat error, tomcat app context is /
.
Why doesn't it work? I tried to accomplish the same goal in NetBeans, and it worked.
Upvotes: 0
Views: 1406
Reputation: 1045
Idea was making project not properly. In my case IntelliJ Idea didn't include desired libraries. So i need to add it manually, like on the picture below
Or you can fix it by pressing button "Fix.." and chose "add Mojarra-2.2.1 to the artifact"
I hope it will help somebody!
Upvotes: 1