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

Unable to run Main class via Gradle #41

Open
AlanKrueger opened this issue Apr 20, 2021 · 0 comments
Open

Unable to run Main class via Gradle #41

AlanKrueger opened this issue Apr 20, 2021 · 0 comments

Comments

@AlanKrueger
Copy link

Just wanted to try out this project, but ran into some issues. After patching #40, I run into this:

$ ./gradlew run --args="--help"

> Task :compileJava
[...]
> Task :run FAILED
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" java.lang.NullPointerException
        at org.anarres.cpp.BuildMetadata.<init>(BuildMetadata.java:40)
        at org.anarres.cpp.BuildMetadata.getInstance(BuildMetadata.java:29)
        at org.anarres.cpp.Main.run(Main.java:61)
        at org.anarres.cpp.Main.main(Main.java:51)

FAILURE: Build failed with an exception.
[...]

It looks like it's failing to load /META-INF/jcpp.properties from the built resources. I don't see any file with that name, though.

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