Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » rcp with hibernate
rcp with hibernate [message #435817] Wed, 24 August 2005 11:57 Go to next message
Eclipse UserFriend
Originally posted by: eskay187.sbox.tugraz.at

Hello,
i finally finished my rcp-plugin but now im having troubles exporting it.
my plugin is based on hibernate (hibernate2.jar) which is included in
build path and classpath.

file->export->deployable plugins & fragments->archive ...

compiler-compability 1.4
package plugins as individual jar files
save ant build script ...

->finish
deploying plugins
an error has occurred during the operation, logfile blablabla

logfile:

----------
1. ERROR in
D:\_Development\Projects\Perspective\src\at\perspective\mode l\repository\HibernateRepository.java
(at line 5)
import net.sf.hibernate.Session;
^^^
The import net cannot be resolved
----------
2. ERROR in
D:\_Development\Projects\Perspective\src\at\perspective\mode l\repository\HibernateRepository.java
(at line 6)
import net.sf.hibernate.Query;
^^^
The import net cannot be resolved
----------
3. ERROR in
D:\_Development\Projects\Perspective\src\at\perspective\mode l\repository\HibernateRepository.java
(at line 12)
Session session_;
^^^^^^^
...and so on.

the hibernate jar is perfectly alright, net.sf.hibernate.* exists. i've
search the internet and newsgroup for quite some time now and hope to find
some help here ...
Re: rcp with hibernate [message #435818 is a reply to message #435817] Wed, 24 August 2005 14:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joerg.von.frantzius.artnology.nospam.com

Helmut Puhr schrieb:

> Hello,
> i finally finished my rcp-plugin but now im having troubles exporting
> it. my plugin is based on hibernate (hibernate2.jar) which is included
> in build path and classpath.

You need to reference the library from your plugin.xml, not from the
project's classpath. In the plugin.xml editor, switch to tab "Runtime",
click "New...", and type in the path to your jar relative to the plugin
directory.
Re: rcp with hibernate [message #435819 is a reply to message #435817] Wed, 24 August 2005 14:18 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Or, if you're using the OSGI manifest, make sure that the bundle is referred to in there as well.
Re: rcp with hibernate [message #435868 is a reply to message #435817] Thu, 25 August 2005 13:58 Go to previous message
Eclipse UserFriend
Originally posted by: eskay187.sbox.tugraz.at

thank you very much, problem solved. i misspelled the classpath in the
manifest.mf file...

regards,
helmut
Previous Topic:How to register global action outside of ActionBarAdvisor ?
Next Topic:Launching Help from Toolbar Action
Goto Forum:
  


Current Time: Sat Dec 07 02:35:08 GMT 2024

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

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

Back to the top