今天在Intellij Idea中编译项目的时候,运行起来一直会报出如下的错误:

Web application not found src/main/webapp

当时感觉应该是什么文件缺少了。所以就直接把这个报错内容放到google上搜索了一下,然后在stackoverflow中按照如下的文章设置,果真跑起来了:

http://stackoverflow.com/questions/22542968/intellij-idea-multi-project-wicket-app-does-not-find-webapp

记录一下,具体解决方式如下:

Go to "Run/Debug Configuration" and set "Working directory" to $MODULE_DIR$

  

posted on 2016-02-16 11:59  程序诗人  阅读(4159)  评论(0编辑  收藏  举报