|
Re: Build path problem [message #227719 is a reply to message #227712] |
Thu, 16 August 2007 11:16 |
Eclipse User |
|
|
|
Originally posted by: wir_hier_2004.yahoo.de
Srdan Bejakovic wrote:
> I posted this earlier but got no response so I am reposting. I created a
> plugin, which worked fine. Then, after a restart, the following error
> appeared:
>
> The type org.eclipse.swt.widgets.Shell cannot be resolved. It is
> indirectly referenced from required .class files
>
> Eclipse suggests that I configure my build path. On the Java Build Path
> properties page, under the Libraries tab, the Plug-in Dependencies lists
> org.eclipse.swt. So what's wrong?
Hi!
I'm a tenderfoot, but I think you have the problem, that a class you
import and use requires another one called
"org.eclipse.swt.widgets.Shell" which is not in your buildpath. (sounds
more like a translation than a real answer...).
Add the missing class (or the jar including the file) to your build path
and all should work fine.
Greetings
eventhorizon
|
|
|
|
Re: Build path problem [message #227743 is a reply to message #227737] |
Thu, 16 August 2007 11:47 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Srdan,
Is org.eclipse.swt.win32.win32.x86* there too? That's where the actual
classes are...
Srdan Bejakovic wrote:
> eventhorizon wrote:
>> Srdan Bejakovic wrote:
>>> I posted this earlier but got no response so I am reposting. I
>>> created a
>>> plugin, which worked fine. Then, after a restart, the following error
>>> appeared:
>>>
>>> The type org.eclipse.swt.widgets.Shell cannot be resolved. It is
>>> indirectly referenced from required .class files
>>> Eclipse suggests that I configure my build path. On the Java Build Path
>>> properties page, under the Libraries tab, the Plug-in Dependencies
>>> lists
>>> org.eclipse.swt. So what's wrong?
>>
>> Hi!
>>
>> I'm a tenderfoot, but I think you have the problem, that a class you
>> import and use requires another one called
>> "org.eclipse.swt.widgets.Shell" which is not in your buildpath. (sounds
>> more like a translation than a real answer...).
>>
>> Add the missing class (or the jar including the file) to your build path
>> and all should work fine.
>>
>> Greetings
>> eventhorizon
>
> I don't understand what you mean. It seems that the org.eclipse.swt
> package is already on my build path (that's what the Java Build Path
> page is saying).
|
|
|
Re: Build path problem [message #227748 is a reply to message #227743] |
Thu, 16 August 2007 11:57 |
Srdan Bejakovic Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Ed Merks wrote:
> Srdan,
>
> Is org.eclipse.swt.win32.win32.x86* there too? That's where the actual
> classes are...
>
>
> Srdan Bejakovic wrote:
>> eventhorizon wrote:
>>> Srdan Bejakovic wrote:
>>>> I posted this earlier but got no response so I am reposting. I
>>>> created a
>>>> plugin, which worked fine. Then, after a restart, the following error
>>>> appeared:
>>>>
>>>> The type org.eclipse.swt.widgets.Shell cannot be resolved. It is
>>>> indirectly referenced from required .class files Eclipse suggests
>>>> that I configure my build path. On the Java Build Path
>>>> properties page, under the Libraries tab, the Plug-in Dependencies
>>>> lists
>>>> org.eclipse.swt. So what's wrong?
>>>
>>> Hi!
>>>
>>> I'm a tenderfoot, but I think you have the problem, that a class you
>>> import and use requires another one called
>>> "org.eclipse.swt.widgets.Shell" which is not in your buildpath. (sounds
>>> more like a translation than a real answer...).
>>>
>>> Add the missing class (or the jar including the file) to your build path
>>> and all should work fine.
>>>
>>> Greetings
>>> eventhorizon
>>
>> I don't understand what you mean. It seems that the org.eclipse.swt
>> package is already on my build path (that's what the Java Build Path
>> page is saying).
Nope, it wasn't there. I added it and the problem is gone. Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.03612 seconds