`

idea 错误 Two modules in a project cannot share the same content root

 
阅读更多

Two modules in a project cannot share the same content root

IJ报错解决方法: 移除以前工程的JDK包.

根本的解决方法: 删除面板中所有的内容, 包括iml文件和JDK包, 然后重新导入工程.

 

其实删了没用的iml重启下idea就可以

分享到:
评论

相关推荐

    IDEA下svn配置与share project

    3.Compare with the Same Repository Version 当前文件与服务器上该文件通版本的内容进行比较。如果当前编辑的文件没有修改,则是灰色不可点击。 4.Show history 显示当前文件的历史记录 5.Revert 还原当前被修改的...

    idea Project structrue总结+如何导入eclipse步骤 .docx

    Idea Project Structure 是一个复杂的概念,其中包含了多个组件,例如 Project、Modules、Libraries、Facets、Artifacts 和 SDK。下面将对这些组件进行详细的解释,并指导如何将 Eclipse 项目导入 Idea 中。 ...

    IntelliJ IDEA Project窗口的一些设置详解

    IntelliJ IDEA Project窗口的一些设置详解 IntelliJ IDEA Project窗口是开发者在使用IntelliJ IDEA时最常用的窗口之一,它提供了对项目结构的查看和管理功能。然而,很多开发者对Project窗口的设置不甚了解,导致在...

    Learning.Embedded.Linux.using.the.Yocto.Project.1784397393

    This book will go through Linux kernel features and source code, present information on how to build a kernel source, modules, and the Linux root filesystem. You'll be given an overview of the ...

    解决IDEA【Cannot find Graphviz】问题 graphviz-2.38.zip

    然而,有时用户可能会遇到IDEA提示“Cannot find Graphviz”的错误,这意味着IDEA无法找到Graphviz的安装路径,导致无法正常生成图形。 解决这个问题的方法通常包括以下步骤: 1. **下载Graphviz**:首先,你需要...

    idea错误处置.docx

    3. **查看错误日志**:如果上述方法仍无法解决问题,可以查看IDEA的日志文件(Help -> Show Log in Explorer 或 Help -> Show Log in Finder),查找是否有相关的错误提示,以便进一步定位问题原因。 4. **重置IDEA...

    idea_project.zip

    标题中的"idea_project.zip"表明这是一个使用IntelliJ IDEA创建的项目压缩包。IntelliJ IDEA是一款流行的Java集成开发环境(IDE),广泛用于编写Java应用程序。这个压缩文件可能包含了整个项目的所有源代码、配置...

    Pro+Spring+Dynamic+Modules+for+OSGi+Service+Platforms

    This book is about OSGi’s role in enterprise Java and how the Spring Dynamic Modules for OSGi (Spring-DM) fulfills this role. I first learned about OSGi when the Eclipse IDE started using it in its ...

    The Princeton Companion To Mathematics

    containing one or more variables, the same in the two propositions, and neither p nor q contains any constants except logical constants. And logical constants are all notions definable in terms of the...

    WizFlow网页编辑

    on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may ...

    hibernate-shards.jar

    on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may ...

    Universal-USB-Installer

    distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend ...

    idea插件 金蝶中间件AAS-V10-sp2

    标题"idea插件 金蝶中间件AAS-V10-sp2"指出这是一个针对IntelliJ IDEA(简称IDEA)的插件,特别的是它与金蝶中间件AAS(Application Assembly Server)的V10服务包2(SP2)版本相集成。金蝶中间件是企业级的应用...

    JRebel (idea热编译插件)2018 最新

    JRebel enables developers to get more done in the same amount of time and stay in the flow while coding. JRebel supports a majority of real-world enterprise java stacks and is easy to install into ...

    解决idea9 开机 jvm无法启动的错误

    在IT行业中,开发工具的重要性不言而喻,尤其对于Java开发者来说,IntelliJ IDEA(简称Idea)是一款广泛使用的集成开发环境(IDE)。这里我们遇到了一个关于Idea9的常见问题,即“开机jvm无法启动”的错误。这个问题...

    aco.zip_A Family To Share_ant colony_metaheuristic_optimization_

    In computer science and operations research, the ant colony optimization algorithm (ACO) is a probabilistic technique for solving computational problems which can be reduced to finding good paths ...

    微软内部资料-SQL性能优化2

    To run in the same address space. In-process servers are loaded in the client’s address space because they are implemented as DLLs. The main advantage of running in-process is that the system usually...

    微软内部资料-SQL性能优化5

    Each index row in node pages contains an index key (or set of keys for a composite index) and a pointer to a page at the next level for which the first key value is the same as the key value in the ...

    IDEA的mybatis插件

    它可以自动识别项目中的Mapper文件,并在IDEA的Project视图中以特定的方式展示,使得代码结构一目了然,便于团队协作和代码审查。 总结来说,IDEA的Mybatis插件以其强大的功能和友好的用户体验,成为Mybatis开发者...

    maven \"Generating project in Batch mode\"问题的解决

    当遇到"Maven Generating project in Batch mode"的问题时,通常意味着在批量模式下创建Maven项目时遇到了障碍。这篇博客文章“maven \"Generating project in Batch mode\"问题的解决”可能会提供一些解决方案。 ...

Global site tag (gtag.js) - Google Analytics