This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- putClass does not add the specified class to the archive
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Mar 09, 2007
03:12 AM
putClass does not add the specified class to the archive
I have a custom bean which requires another class (a TimerTask class) for the progress bar implementation. I am using the following code snippet to add the class to the install archive --
support.putClass(com.ibm.ahx.config.ProgressBarTimer.class.getName());
support.putClass("com.ibm.ahx.config.ProgressBarTimer");
I dont get any errors at build time, but at run time, I get a
java.lang.NoClassDefFoundError: com.ibm.ahx.config.ProgressBarTimer
and my wizard bean can be loaded. Any ideas as to why the putClass does not work? I have also tried using putArchive, but even that doesnt work. Thx.
support.putClass(com.ibm.ahx.config.ProgressBarTimer.class.getName());
support.putClass("com.ibm.ahx.config.ProgressBarTimer");
I dont get any errors at build time, but at run time, I get a
java.lang.NoClassDefFoundError: com.ibm.ahx.config.ProgressBarTimer
and my wizard bean can be loaded. Any ideas as to why the putClass does not work? I have also tried using putArchive, but even that doesnt work. Thx.
(1) Reply
Apr 03, 2007
03:55 PM