posted 21 years ago
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?