Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Weird import problem
Weird import problem [message #200347] Mon, 19 March 2007 08:55 Go to next message
Eclipse UserFriend
Originally posted by: newsgroup.weyands.net

Hello Newsgroup,

i'm running into problems i can't figure out how they're caused.
I'm trying to instance a Class from another project, i added the import
statements and eclipse added the project to the buildpath.
Code-completion is working fine, accoring to eclipse there are no
problems with dependencies - but:

When i execute the plugin, try to instanciate one of the classes eclipse
throws an exception:
"An error occured. See error log for more details" - but tthe error log
keeps empty..

Anyone got an idea why i keep getting this weird exception?

thanks in advance,
chris
Re: Weird import problem [message #200354 is a reply to message #200347] Mon, 19 March 2007 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jakub.jurkiewicz.gmail.com

Hi Chris,

If you are developing a plugin and you want to use class from another
plugin don't forget to add the dependence in the Dependencies tab in
plugin.xml

regards,
Jakub Jurkiewicz


Christian Weyand wrote:
> Hello Newsgroup,
>
> i'm running into problems i can't figure out how they're caused.
> I'm trying to instance a Class from another project, i added the import
> statements and eclipse added the project to the buildpath.
> Code-completion is working fine, accoring to eclipse there are no
> problems with dependencies - but:
>
> When i execute the plugin, try to instanciate one of the classes eclipse
> throws an exception:
> "An error occured. See error log for more details" - but tthe error log
> keeps empty..
>
> Anyone got an idea why i keep getting this weird exception?
>
> thanks in advance,
> chris
Re: Weird import problem [message #200361 is a reply to message #200354] Mon, 19 March 2007 10:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: newsgroup.weyands.net

Hi Jakub,

thanks for your reply. I've added the plugin i'm referecning in
Dependencies -> Imported Packages.
I've never had such problems with a plugin, it simply doesn't find the
classes.. and doesn't event output some helpful error-log *sight

-chris


Jakub Jurkiewicz schrieb:
> Hi Chris,
>
> If you are developing a plugin and you want to use class from another
> plugin don't forget to add the dependence in the Dependencies tab in
> plugin.xml
>
> regards,
> Jakub Jurkiewicz
>
>
> Christian Weyand wrote:
>> Hello Newsgroup,
>>
>> i'm running into problems i can't figure out how they're caused.
>> I'm trying to instance a Class from another project, i added the
>> import statements and eclipse added the project to the buildpath.
>> Code-completion is working fine, accoring to eclipse there are no
>> problems with dependencies - but:
>>
>> When i execute the plugin, try to instanciate one of the classes
>> eclipse throws an exception:
>> "An error occured. See error log for more details" - but tthe error
>> log keeps empty..
>>
>> Anyone got an idea why i keep getting this weird exception?
>>
>> thanks in advance,
>> chris
Re: Weird import problem [message #200408 is a reply to message #200354] Mon, 19 March 2007 11:57 Go to previous message
Eclipse UserFriend
Originally posted by: newsgroup.weyands.net

Hmm... i forgot to put in a dependency for 1 of my 5 packages in this
project, although i don't reference the Classes within that package (UI
Stuff) this one missing caused all my trouble i think...

thanks for that tip, you made my day =)

-chris


Jakub Jurkiewicz schrieb:
> Hi Chris,
>
> If you are developing a plugin and you want to use class from another
> plugin don't forget to add the dependence in the Dependencies tab in
> plugin.xml
>
> regards,
> Jakub Jurkiewicz
>
>
> Christian Weyand wrote:
>> Hello Newsgroup,
>>
>> i'm running into problems i can't figure out how they're caused.
>> I'm trying to instance a Class from another project, i added the
>> import statements and eclipse added the project to the buildpath.
>> Code-completion is working fine, accoring to eclipse there are no
>> problems with dependencies - but:
>>
>> When i execute the plugin, try to instanciate one of the classes
>> eclipse throws an exception:
>> "An error occured. See error log for more details" - but tthe error
>> log keeps empty..
>>
>> Anyone got an idea why i keep getting this weird exception?
>>
>> thanks in advance,
>> chris
Previous Topic:Top down creation of webservice from wsdl using eclipse wizard
Next Topic:Editor macros
Goto Forum:
  


Current Time: Thu Apr 25 13:27:49 GMT 2024

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

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

Back to the top