Error when trying to generate project Follow
I'm getting this error when trying to generate anything:
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files (line: 1)
I have put the JDK as dependency for the generator and language
How do i solve this?
Please sign in to leave a comment.
Do I understand correctly that you cannot generate your language and the generator?
I can make the generator and language without errors, but the sandbox won't generate. I get the error as soon as I try to add reduction rules or other rules to the generator and try to make java files out of the sandbox.
Does your sandbox have a dependency on JDK?
No, it did not. It works now after including it. Thank you verry much.
There is another way to fix this problem. Add dependency on base language with type "generation type" in your language. In this case you haven't to set unused dependency on JDK in all solutions those uses you language.