-
Notifications
You must be signed in to change notification settings - Fork 65
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 when running gradlew build #40
Comments
also is gradlew build even the right command |
Yes, you can use gradlew if you like it. Which Java version do you use? I have create a wiki page for this error to help with this typical problem. |
i tried both java 8 and 17 both give me the same error |
also here is the build.gradle :
|
|
I think the issue could be in: package de.inetsoftware.jwebassembly.web.JSObject.java. Line 18. Can't resolve symbol Nonnull. |
im 99% sure that this is the issue, i changed my code to an example here and everything worked fine |
heres the original code that didn't work. `package org.pepperoni; /*
public class HelloWorld {
} |
This is because JWebAssembly-API uses java 8, and javax.annoatation.Nonnull doesn't exist in newer vesrion. I will try and make pull request for java 17 compatability |
Whats the exact jdk and jdk version you use? |
I added |
Which error do you receive? The annotations are only needed at compile time. Try you to compile the library? I does not understand what you means. In the start of this thread you point to java.lang.ref.Reference.refersTo0(Reference.java). Now you switch to javax.annoatation.Nonnull. I can not see any context between both. |
I think this means, your trying to make a refernce to something that doesn't exist, javax.annoatation.Nonnull. Since i included a libary which has javax.annoatation.Nonnull it can resolve the refernce. |
Enable the debug log level and send the log output from compiler. |
I already fixed the error but ok |
acctualy nevermind it just decided to work without including fingbugs |
ok |
FAILURE: Build failed with an exception.
Execution failed for task ':wasm'.
BUILD FAILED in 2s
3 actionable tasks: 3 executed
The text was updated successfully, but these errors were encountered: