my dog learned polymorphism*
The moose likes Beginning Java and the fly likes NoClassDefFoundError .. JButtonGroupPanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "NoClassDefFoundError .. JButtonGroupPanel" Watch "NoClassDefFoundError .. JButtonGroupPanel" New topic
Author

NoClassDefFoundError .. JButtonGroupPanel

brett_simpson
Greenhorn

Joined: Sep 27, 2001
Posts: 4
Can anyone help with the this error :
Exception in thread "main" java.lang.NoClassDefFoundError: com/symantec/itools/javax/swing/JButtonGroupPanel
I have import com.symantec.itools.javax.swing.JButtonGroupPanel;
in my program. Does the ClassPath need to be directed to that directory?
Is there any problems/caveats with using components like JButtonGroupPanel and JWrappingLabel?
Steve Chernyak
Ranch Hand

Joined: Oct 19, 2000
Posts: 113
Not sure about gui specific question, but any classes that your code refrences must be on the classpath (unless you are using a custom classloader)
brett_simpson
Greenhorn

Joined: Sep 27, 2001
Posts: 4
I guess what I don't understand is that there is no JButtonGroupPanel class. I checked the zipped files and can't find it. There is a JButtonGroupPanel.java located in java\src\symantec\itools\javax\swing.
???
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
I take it that you are useing Visual Cafe by Symantec as an IDE?
You probably have not configured the classpath correctly to find the classes that Symantec has included with the application. The class file is probably hidden in a jar file (like a zipped file) that they supplied.
Of course I have not a clue how to configure a classpath within the tool (we have an IDE forum if you want to ask there), but to do it outside the tool read this:
How to set your classpath.
By the way,
Please change your name to be compliant with JavaRanch's naming policy.
Your ID should be 2 separate names with more than 1 letter each (get rid of the underscore). We really want this to be a professional forum and would prefer that you use your REAL name.
Thanks,
Cindy

[This message has been edited by Cindy Glass (edited September 27, 2001).]


"JavaRanch, where the deer and the Certified play" - David O'Meara
brett_simpson
Greenhorn

Joined: Sep 27, 2001
Posts: 4
I guess what I don't understand is that there is no JButtonGroupPanel class. I checked the zipped files and can't find it. There is a JButtonGroupPanel.java located in java\src\symantec\itools\javax\swing.
???
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
You KNOW that you look in all the .jar files? Not the zip files, the jar files.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoClassDefFoundError .. JButtonGroupPanel