• 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

Bean Builder problem - class not visible to class loader

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have created a simple JavaBean that generates a user-defined event. I am using Sun's Bean Builder (likely the cause of my problem), place everything in a JAR file, with the following manifest file:
Manifest-Version: 1.0
Name: stock/Stock.class
Java-Bean: True
Name: stock/StockPriceListener.class
Java-Bean: False
Name: stock/StockPriceEvent.class
Java-Bean: False
I know that the Bean Builder is finding all three of these classes because I can hook up my Stock bean to another bean visually. However, it does not work successfully as I get the following error:
"interface stock.StockPriceListener" not visible from class loader.
I have tried putting the bytecode in various places, but to no avail. Has anyone had this problem before with the Bean Builder?
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the IDE forum.
 
reply
    Bookmark Topic Watch Topic
  • New Topic