making friend with netbeans modules

Most of you who develop NetBeans RCP are using have encountered NoClassDefFound errors. Normally only set the direct dependency to the module/jar and everything works fine (example). This does not always hold:

I encountered the prob when trying to use netbeans.core.window.

problem: public packages

solution: declare a so called implementation dependency as described here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s