Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IntelliJ IDEA中的多个GWT模块和404错误_Gwt_Intellij Idea - Fatal编程技术网

IntelliJ IDEA中的多个GWT模块和404错误

IntelliJ IDEA中的多个GWT模块和404错误,gwt,intellij-idea,Gwt,Intellij Idea,有一个用GWT编写的应用程序,它由许多模块组成。主模块是应用程序的“入口点”。让我们称之为Foo-Main,并没有几个额外的模块:Foo样式、Foo图标等。它们中的每一个都只有应用程序中应该可用的src/Main/webapp(如.css文件)中的一些内容 我正试图让它在IntelliJ IDEA中工作 我创建了一个工件,src/main/webapp作为源文件夹添加,我将来自其他模块的每个GWT编译器输出添加到工件中。当我尝试运行GWT Dev模式时,Foo main模块的src/main/w

有一个用GWT编写的应用程序,它由许多模块组成。主模块是应用程序的“入口点”。让我们称之为Foo-Main,并没有几个额外的模块:Foo样式、Foo图标等。它们中的每一个都只有应用程序中应该可用的
src/Main/webapp
(如
.css
文件)中的一些内容

我正试图让它在IntelliJ IDEA中工作

我创建了一个工件,
src/main/webapp
作为源文件夹添加,我将来自其他模块的每个GWT编译器输出添加到工件中。当我尝试运行GWT Dev模式时,Foo main模块的
src/main/webapp
中的内容可用,但其他模块中的内容不可用-我得到404个错误,例如样式表上的错误

配置中缺少什么

编辑:

评论中要求的更多详细信息:

[WARN] 404 - GET /Styles/gxt/css/gxt-all.css (127.0.0.1) 1412 bytes
   Request headers
      Host: 127.0.0.1:8888
      Connection: keep-alive
      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1
      Accept: text/css,*/*;q=0.1
      Accept-Encoding: gzip,deflate,sdch
      Accept-Language: en-US,en;q=0.8
      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
      Referer: http://127.0.0.1:8888/Foo-Main/index.html?gwt.codesvr=127.0.0.1:9997
Foo样式中的
src/main/webapp/
的内容如下所示:

src/
    main/
        webapp/
            ...
            gxt/
                chart/
                    ...
                css/
                    gxt-all.css
                    gxt-gray.css
                ...
            ...
src/
    main/
        webapp/
            Foo-Main/
                ...
                Styles/
                    foo-main.css
                ...
                help.html
                index.html
此外,在Foo Main中,它如下所示:

src/
    main/
        webapp/
            ...
            gxt/
                chart/
                    ...
                css/
                    gxt-all.css
                    gxt-gray.css
                ...
            ...
src/
    main/
        webapp/
            Foo-Main/
                ...
                Styles/
                    foo-main.css
                ...
                help.html
                index.html

看看我问的一个问题:


我相信这会对你有帮助;-)

这是一个想法上的错误。它将在下一个IDEA 12 EAP构建中修复

关于您的问题,我有一点线索。请发布
404错误
输出以及
src/main/webapp中的确切内容
谢谢,我更新了问题。