Problem : Indirect referenced from required .class files [message #590714] |
Thu, 29 January 2009 17:41 |
Kap Pak Messages: 52 Registered: July 2009 |
Member |
|
|
Hi,
I am developing a plugin that adds a new view to the eclipse platform. I
have included the necessary info in my plugin.xml file(it has no
errors).My class looks like:
*********************************BEGIN CLASS******************************
package org.eclipse.examples.helloworld;
import org.eclipse.swt.widget.*;
import org.eclipse.ui.part.*;
import org.eclipse.ui.*;
import org.eclipse.core.runtime.*;
public class LabelView extends ViewPart{
private LabelView(){
}
public void setFocus(){
...
...
}
public void createPartControl(Composite parent){
...
...
}
}
**************************END CLASS**********************************
I have included many .jar files in the build path including:
org.eclipse.core.runtime_3.3.100.v20070530.jar
org.eclipse.core.boot......jar
org.eclipse.swt......jar
org.eclipse.core.runtime.......jar
org.eclipse.ui.workbench.......jar
...
...
and others
but i still receive the following errors:
(1) At the package declaration the error is :
The type "org.eclipse.core.runtime.IConfigurationElement" cannot be
resolved. It is indirectly referenced from required .class files.
(2) At the class declaration i get the following errors:
- The type "org.eclipse.core.runtime.IAdaptable" cannot be resolved. It is
indirectly referenced from required .class files.
- The type "org.eclipse.core.runtime.IExecutableExtension" cannot be
resolved. It is indirectly referenced from required .class files.
- The hierarchy of the type LabelView(my class name) is inconsistent.
I am using Eclipse version "3.3.0 Java EE" and i have searched its plugin
folder to find the jar file with the name "org.eclipse.core.runtime.jar"
but i only find "org.eclipse.core.runtime_3.3.100.v20070530.jar". I don't
know if they are the same. I don't think they are the same looking at the
error messages.
I am asking if someone can kindly halp me to solve this problem. I have
spent the whole day trying to fix it but no answer. I have googled so many
times but no answer.
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.02917 seconds