开发者

Problem with draw2d dependency in Eclipse with zest

When trying to run this zest tutorial, I get the following e开发者_JAVA百科rror:

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:

Problem with draw2d dependency in Eclipse with zest

What may I be missing?


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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜