• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Manifest Files in Java Beans .....Please Help me

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had created a Java bean file and a mnifest file
The contents of the manifest file is as follows
Name: Mybean.class
Java-Bean: True
My bean class filename is Mybean.class.I created a jar file using the following instruction
jar cfm mybean.jar mybean.mft mybean.class
It smoothly created the jar file.My problem is when I try to load jar from the 'File ,Load Jar' options .I throws an exception indicating that there is no bean in your jar file and instructed to make a manifest file eventhough i created the manifest file.So I request you any body please help me as early as possible
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Saju,
What IDE are you using to load the jar file? Is it possible that your bean is not in the default package? If it isn't then the fully qualified name should be used?

Michael Morris
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic