-
Notifications
You must be signed in to change notification settings - Fork 103
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
Can't reference classes #81
Comments
You must share the class explicitely with variables.set("Main", Main) |
I am already doing so, actually, but I still get the same error.. |
That must be an error on your side, as EUnkownVariable is only throw is the key does not exists in variables Map |
I have created a minimal sample app to show my problem, please bear with me as I am showing the library why my classes are not registrable? |
it seems that hscript interpreter could not recognize my classes if I used them into script.
ex: I used my class
Main
, I got error when tried to execute:I used to import my class
Main
at the same place where I execute the script.I also, tried to use the full package name to reference the Main class
com.clientside.main.Main
, I got error:Any idea?
The text was updated successfully, but these errors were encountered: