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,

ForumModerator at 2007-7-6 13:31:29 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
I have the same issue as david but your solution does not work.I have always the same error :Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/cns/basicreg/BasicRegCLIanother idee ?thanks
stoufette at 2007-7-6 13:31:29 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
Hi.Could you post the output from:# sum /usr/lib/breg/basicreg.jarThanks.
ForumModerator at 2007-7-6 13:31:29 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
sum /usr/lib/breg/basicreg.jar53320 237 /usr/lib/breg/basicreg.jarbut I have found the solution, I had to re-install the package SUNWbrg !thanks
stoufette at 2007-7-6 13:31:29 > top of Java-index,Administration Tools,Sun Update Connection-System...