Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [pde-dev] NoClassDefFound

Hi, try with following.
 
pls check your build.properties file.
 
Example:
 
bin.includes = plugin.xml,\
               META-INF/,\
               icons/,\
               plugin.properties,\
               build.properties,\
               xml/,\
               dialog_settings.xml,\
               help/,\
               toc.xml,\
               MY_CLASSES.jar
src.includes = source/
jars.compile.order = MY_CLASSES.jar
Let me know what happen.
 
Regards,
 
Miguel Angel.

"Lane, Ron [IT]" <ron.lane@xxxxxxxxxxxxx> schrieb:
I'm getting a NoClassDefFound exception.
I read from the archives Hasan Sanasara's answer, but
I don't understand the steps that he is saying.

In my plugin, I refer to the following class:
org.eclipse.jdt.ui.wizards.JavaCapabilityConfigurationPage
(I want to use this page to add a Java flavor to a new project).

This works fine in development, and when I expand the plugin into
my own environment. But when I package it up and someone else
tries it, they get:

java.lang.NoClassDefFoundError: org/eclipse/jdt/ui/wizards/JavaCapabilityConfigurationPage

Here are the lines from Hasan's note on the subject:

Then in the Runtime tab add all dirs and jars as a classpath.
Include jars in the binary build('Build' tab).

Could someone explain what this means in my case?

Please respond to me directly, since I might not see the response in the list.

Ron Lane
ron.lane@xxxxxxxxxxxxx

_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev


Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!

Back to the top