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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)