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!

7 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
  2. Thanks for such a great article here. I was searching for something like this for quite a long time and at last I’ve found it on your blog. It was definitely interesting for me to read about their market situation nowadays. Well written article Thank You for Sharing with Us pmp training Chennai | pmp training centers in Chennai | pmp training institutes in Chennai | pmp training and certification in Chennai

    ReplyDelete
  3. Thanks for your post. This is excellent information. The list of your blogs is very helpful for those who want to learn, It is amazing!!! You have been helping many application.
    best selenium training in chennai | best selenium training institute in chennai

    ReplyDelete