Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building in IntelliJ due to cyclic dependency #4733

Open
tkindy opened this issue Dec 19, 2024 · 0 comments
Open

Error building in IntelliJ due to cyclic dependency #4733

tkindy opened this issue Dec 19, 2024 · 0 comments

Comments

@tkindy
Copy link
Contributor

tkindy commented Dec 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant