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

bug - javac can not reference class in other gradle module #3885

Open
mamilic opened this issue Dec 2, 2024 · 4 comments
Open

bug - javac can not reference class in other gradle module #3885

mamilic opened this issue Dec 2, 2024 · 4 comments

Comments

@mamilic
Copy link

mamilic commented Dec 2, 2024

Without javac eabled and with gradle buildship, the project is imported as expected and class form other module can be autocompleted. However with javac enabled it seems that classes from other modules are not visible.

Steps to reproduce

  1. Javac should be enabled
  2. Download and open this project, multimodule.zip
  3. Go to services/module-a/src/main/java/com/one/demo/DemoApplication.java, the Test class will be red and can not be referenced from module-b
@snjeza
Copy link
Contributor

snjeza commented Dec 2, 2024

The related issue - eclipse-jdtls/eclipse-jdt-core-incubator#955

@mickaelistria
Copy link
Contributor

@snjeza I don't see lombok involved in this demo. Can you please clarify how those are linked?

@snjeza
Copy link
Contributor

snjeza commented Dec 2, 2024

I don't see lombok involved in this demo. Can you please clarify how those are linked?

You are right. Sorry.

@snjeza
Copy link
Contributor

snjeza commented Dec 20, 2024

I can't reproduce the issue in VS Code v1.38.0

@snjeza snjeza closed this as completed Dec 20, 2024
@snjeza snjeza reopened this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants