Error when trying to generate project

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?
5 comments
Comment actions Permalink

Do I understand correctly that you cannot generate your language and the generator?

0
Comment actions Permalink

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.

0
Comment actions Permalink

Does your sandbox have a dependency on JDK?

1
Comment actions Permalink

No, it did not. It works now after including it. Thank you verry much.

0
Comment actions Permalink

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.

0

Please sign in to leave a comment.