Skip to content

Error building in IntelliJ due to cyclic dependency #4733

Open
@tkindy

Description

Since #4621, I have been unable to build the project in IntelliJ (currently 2024.3.1.1). Certain files in the check_api module fail to compile; the error I see is cannot find symbol for class CompilationTestHelper.

This appears to be caused by a cyclic dependency that was resolved for the Maven build by excluding some files from compilation. IntelliJ doesn't pick up this configuration automatically (though arguably it should), so I had to manually exclude these files myself (Build, Execution, Deployment > Compiler > Excludes, or right-click each file in the compile output window and click 'Exclude from Compile').

It'd be great if this cyclic dependency could be resolved so this manual setup isn't needed (and so these files can be worked on in IntelliJ if need be), but I'm sure that's a bit of a web to be untangled. Barring a fix, I feel it would be useful to include this information in the developer wiki along with the other IDE-specific setup instructions there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions