Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipse RCP app + Plugin +Java Project dependency
Eclipse RCP app + Plugin +Java Project dependency [message #460823] Fri, 29 December 2006 16:29 Go to next message
Eclipse UserFriend
I have an Eclipse RCP app that provides the "workbench" into which my
application plugs in as a plugin. My application plugin depends on
classes provided by another simple Java project.

I was able to develop the application plugin by adding my Java project
as a Project dependency to the application plugin project. I then
converted the simple Java Project to a plugin project using the PDE
tools context menu. Then I made sure to export all packages in the Java
project (now a plugin project) in the MANIFEST.MF.

When I run my RCP application I get an NoClassDefFound error message
saying unable to find the class in my Java Project.

Would appreciate any help troubleshooting this.

Thanks
-sud
Re: Eclipse RCP app + Plugin +Java Project dependency [message #460825 is a reply to message #460823] Fri, 29 December 2006 16:36 Go to previous message
Eclipse UserFriend
I found the missing piece. In the application plugin's plugin.xml I had
to add a plugin dependency to the Java project plugin.

Thanks
-sud

sudhakar wrote:
> I have an Eclipse RCP app that provides the "workbench" into which my
> application plugs in as a plugin. My application plugin depends on
> classes provided by another simple Java project.
>
> I was able to develop the application plugin by adding my Java project
> as a Project dependency to the application plugin project. I then
> converted the simple Java Project to a plugin project using the PDE
> tools context menu. Then I made sure to export all packages in the Java
> project (now a plugin project) in the MANIFEST.MF.
>
> When I run my RCP application I get an NoClassDefFound error message
> saying unable to find the class in my Java Project.
>
> Would appreciate any help troubleshooting this.
>
> Thanks
> -sud
Previous Topic:NLS missing message
Next Topic:moving text (slide)
Goto Forum:
  


Current Time: Sat Mar 15 17:58:16 EDT 2025

Powered by FUDForum. Page generated in 0.02552 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top