How to use Hibernate in a module project?

Peter Nabbefeld <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Hello,

when trying to use Hibernate for a module project, I'm getting the 
following exception:

java.lang.NoClassDefFoundError: org/jboss/jandex/IndexView

The problem is the Hibernate dependency not beeing able to access the 
jandex jar file, as it's not available for the Hibernate module on its 
classpath.

While I'd guess it would be possible to add that jar file to the 
netbeans classpath to solve the problem, that's not an option for a 
plugin module.

How could I manage to get the jar file into the hibernate classpath?

Kind regards
Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.