devoured elysium
devoured elysium

Reputation: 105077

Problem with draw2d dependency in Eclipse with zest

When trying to run this zest tutorial, I get the following error:

The type org.eclipse.draw2d.FigureCanvas cannot be resolved. It is indirectly referenced from required .class files

over the following bit of code:

GraphNode n = new GraphNode(g, SWT.NONE, "Paper");

I have gef 3.6.2 installed, so I don't get what may be the problem. All that Eclipse seems able to do is ask me if I want to configura my build path settings:

enter image description here

What may I be missing?

Upvotes: 0

Views: 1484

Answers (1)

Konstantin Komissarchik
Konstantin Komissarchik

Reputation: 29139

Go to your project's manifest file and add dependency on org.eclipse.draw2d bundle.

Edit: What made it work was adding a couple of draw2d "external jars" to the project's dependencies. Thanks by the clue!

Upvotes: 1

Related Questions