Cannot start compilation: the output path is not specified for module "..." Specify the output path

    xiaoxiao2021-03-26  8

    原因:项目中此时没有指定class文件生成的路径,若单纯指定module的output路径会导致后续出现无法找到类的Error。 解决办法: 1. 打开project structure->project, 在右侧project compiler output目标路径文件夹,通常是"\Workspace Intelij\\project_name\\out"; 2. 打开(project structure->)module, 在paths栏中选择Inherit project compiler output path; 3. 点击确定。
    转载请注明原文地址: https://ju.6miu.com/read-600062.html

    最新回复(0)