Java java.lang.NoClassDefFoundError when running sconadm.
I'm running the CLI sconadm command to register a newly minted Solaris 10 installation (on old hardware).
# sconadm register -a -r sconadm.profile
Exception in thread"main" java.lang.NoClassDefFoundError: com/sun/cns/basicreg/BasicRegCLI
I've run "pkgchk -n" and everything comes up clean. What am i missing?
I believe that I have the "Developers Software Support Group" installed, but I'm not sure how to confirm.
Thanks for your help!
David
[516 byte] By [
hmsdbryant] at [2007-11-26 6:04:56]

# 1
Dear David,
We have seen this issue before. There has been some issues on the past with the SUNWbreg package been installed, probably some kind of corruption of the file /usr/lib/breg/basicreg.jar where the class BasicRegCLI should be.
To fix it try re-installing Sun Update following steps:
1.- Uninstal Sun Update Connection
2.- Download the bundle Sun Update Connection 1.0.1 from:
http://www.sun.com/download/products.xml?id=42e02045
3.- Unzip the downloaded file an run the install script.
This should fix the problem.
Cheers,