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

API is not in the compile classpath #2

Open
SHsuperCM opened this issue Jun 7, 2024 · 1 comment
Open

API is not in the compile classpath #2

SHsuperCM opened this issue Jun 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SHsuperCM
Copy link
Owner

Rarely when restarting the game instance without fully closing it first, the API is not in the compile classpath which mainly causes entrypoint annotations to fail with

> Task :1.20.6:compileJava

...

error: package io.shcm.shsupercm.fabric.fletchingtable.api does not exist
import io.shcm.shsupercm.fabric.fletchingtable.api.Entrypoint;
                                                  ^
                                                  
...

error: cannot find symbol
    @Entrypoint(Entrypoint.CLIENT) public static void registerAssetsReload() {
                ^
  symbol:   variable Entrypoint

...

> Task :1.20.6:compileJava FAILED
@SHsuperCM SHsuperCM added the bug Something isn't working label Jun 7, 2024
@SHsuperCM
Copy link
Owner Author

I've had trouble diagnosing this as this issue has poor reproducibility. Need to create a scenario where this issue happens reliably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant