<i id='kJVlK'><tr id='kJVlK'><dt id='kJVlK'><q id='kJVlK'><span id='kJVlK'><b id='kJVlK'><form id='kJVlK'><ins id='kJVlK'></ins><ul id='kJVlK'></ul><sub id='kJVlK'></sub></form><legend id='kJVlK'></legend><bdo id='kJVlK'><pre id='kJVlK'><center id='kJVlK'></center></pre></bdo></b><th id='kJVlK'></th></span></q></dt></tr></i><div id='kJVlK'><tfoot id='kJVlK'></tfoot><dl id='kJVlK'><fieldset id='kJVlK'></fieldset></dl></div>

      <legend id='kJVlK'><style id='kJVlK'><dir id='kJVlK'><q id='kJVlK'></q></dir></style></legend>

      1. <tfoot id='kJVlK'></tfoot>
      2. <small id='kJVlK'></small><noframes id='kJVlK'>

        • <bdo id='kJVlK'></bdo><ul id='kJVlK'></ul>

        IntelliJ 编译时在同一个包中找不到类

        IntelliJ can#39;t find classes in same package when compiling(IntelliJ 编译时在同一个包中找不到类)
        <tfoot id='sNPgq'></tfoot>

          <legend id='sNPgq'><style id='sNPgq'><dir id='sNPgq'><q id='sNPgq'></q></dir></style></legend>
          <i id='sNPgq'><tr id='sNPgq'><dt id='sNPgq'><q id='sNPgq'><span id='sNPgq'><b id='sNPgq'><form id='sNPgq'><ins id='sNPgq'></ins><ul id='sNPgq'></ul><sub id='sNPgq'></sub></form><legend id='sNPgq'></legend><bdo id='sNPgq'><pre id='sNPgq'><center id='sNPgq'></center></pre></bdo></b><th id='sNPgq'></th></span></q></dt></tr></i><div id='sNPgq'><tfoot id='sNPgq'></tfoot><dl id='sNPgq'><fieldset id='sNPgq'></fieldset></dl></div>
            <bdo id='sNPgq'></bdo><ul id='sNPgq'></ul>
              <tbody id='sNPgq'></tbody>

                <small id='sNPgq'></small><noframes id='sNPgq'>

                1. 本文介绍了IntelliJ 编译时在同一个包中找不到类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  作为我上一个问题的扩展(

                  正如您在图片中看到的那样,在涉及 BifCreatorController 的行中发生了,即使该类与 BifCreatorView 位于同一包中.p>

                  就像我之前的问题一样,我无法理解 IntellJ 为什么会吐出这些错误.这个项目在 Eclipse 中运行良好,但我希望开始远离 Eclipse.

                  解决方案

                  这是因为 BifCreatorController 被排除在编译之外(参见文件名附近的左上角小X"图标).一个原因是文件在编译时出现了一些错误,IDEA 建议将其从编译中排除,您已接受.

                  转到文件 > 设置 > 构建、执行、部署 > 编译器 > 排除"并从那里删除它.

                  As an extension to my previous question (IntelliJ can't find depencency when compiling, but can in editor.) which got solved, I now have a new issue which has sprung up.

                  Within the same packages, references to other classes are showing up with errors:

                  As you can see in the picture, there is happening at the line involving the BifCreatorController, even though that class is in the same package as the BifCreatorView.

                  Just like my previous question, I am failing to understand why IntellJ is spitting out those errors. This project works just fine in Eclipse, but I am looking to start moving away from eclipse.

                  解决方案

                  This is because BifCreatorController is excluded from compilation (see the small "X" top-left icon near to the file name). One reason would be the file got some errors while compiling, IDEA proposed to exclude it from compilation and you had accepted.

                  Go to "File > Settings > Build, Execution, Deployment > Compiler > Excludes" and remove it from there.

                  这篇关于IntelliJ 编译时在同一个包中找不到类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)

                      <tfoot id='pMHB5'></tfoot>
                        • <bdo id='pMHB5'></bdo><ul id='pMHB5'></ul>
                          <i id='pMHB5'><tr id='pMHB5'><dt id='pMHB5'><q id='pMHB5'><span id='pMHB5'><b id='pMHB5'><form id='pMHB5'><ins id='pMHB5'></ins><ul id='pMHB5'></ul><sub id='pMHB5'></sub></form><legend id='pMHB5'></legend><bdo id='pMHB5'><pre id='pMHB5'><center id='pMHB5'></center></pre></bdo></b><th id='pMHB5'></th></span></q></dt></tr></i><div id='pMHB5'><tfoot id='pMHB5'></tfoot><dl id='pMHB5'><fieldset id='pMHB5'></fieldset></dl></div>
                          <legend id='pMHB5'><style id='pMHB5'><dir id='pMHB5'><q id='pMHB5'></q></dir></style></legend>

                          <small id='pMHB5'></small><noframes id='pMHB5'>

                            <tbody id='pMHB5'></tbody>