Search code examples
javahibernatejpanetbeansmeta-inf

Where is meta-inf directory?


I'm working with JPA and Hibernate. Where is meta-inf directory in Netbeans 7.x? For some reazon it seems to not be present.


Solution

  • If a .jar file is produced, this zip file will contain a META-INF directory with maybe a manifest.mf in it. In general this can be automatically generated.

    In NetBeans the build process either uses ant and since a couple of years also maven as build engine. In maven one would find generating the manifest.mf (and consequently its directory META-INF) in the pom.xml. Try f0r instance setting the main-class of an application jar.