ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  EJB 2 and J2EE Packaging
Subject:   invalid header file ??
Date:   2001-07-19 07:40:40
From:   fmarchioni
Hello Tyler,
I have read carefully your nice article. I have found the following problem:
If I try to jar a list of files...

jar cvfm *.class META-INF/*

with the manifest like this:
Class-Path: /usr/utils/utils.jar

I get this error from the jar tool: "invalid header file".
Do you know how to overcome this problem ?

Also I tried to build the jar file in Windows using winzip but when I invoke the bean that use utils classes then I get another error: "Illegal access error".

Any clue?