Sunday, August 16, 2015

MANIFEST.MF: Header must be terminated by a line break

Another frustrating day would be to be bothered by a stray space in your file and being blocked for a day.

Thats what happened to me while building something that requires surgical editing in MANIFEST.MF.

Lets discuss the errors:
  1. "Header must be terminated by a line break":
    The problem is there is a space after the last 
    :
     tuple.
     
  2. "Dependencies are not being generated or the value part of the 
    :
    is being ignored."
    After the last 
    :
     tuple, have a line break.

    Example: if its something like this in the last line:
    Require-Bundle: org.spring,
     org.apache


    then change it to:
    Require-Bundle: org.spring,
     org.apache


    Note that there is no space in the last line!

5 comments:

  1. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.

    rpa Training in tambaram

    blueprism Training in tambaram

    automation anywhere training in tambaram

    iot Training in tambaram

    rpa training in sholinganallur

    blue prism training in sholinganallur

    automation anywhere training in sholinganallur

    iot training in sholinganallur


    ReplyDelete