Grails + jetty + intellij not working

I managed to configure the jetty server in intellij and added myprojet-exploded.war and started it sucessfully (aparently) as shown:

[2014-07-11 08:31:51,424] Artifact contas:war exploded: Artifact is being deployed, please wait...
2014-07-11 20:31:54.046:INFO:oejsh.ContextHandler:Scanner-1: Started o.e.j.w.WebAppContext@73e8f4b9{/contas,file:/home/capivarao/DEV/grails/workspace/contas/out/artifacts/contas_war_exploded.war/,AVAILABLE}
[2014-07-11 08:31:54,105] Artifact contas:war exploded: Artifact is deployed successfully
[2014-07-11 08:31:54,105] Artifact contas:war exploded: Deploy took 2,681 milliseconds

But when i enter the adress for a create or index page it shows 404 error

and if i add the .gsp  like index.gsp
it shows the source code for the page and not the page itself.
I can see the server is running for it's showing the folder content

Seens like its not calling some grails interpreter or something

When I use the run-app then everythings fine
I changed the BuildConfig.groovy to use  pllugin ==> build ":jetty:3.0.0"

Any idea of whats going on?

Please sign in to leave a comment.