Skip to main content

Hudson fails to start java.lang.NoClassDefFoundError: javax/crypto/SecretKey

  2 posts   Feedicon  
Replies: 1 - Last Post: February 16, 2011 13:22
by: susanduncan
showing 1 - 2 of 2
Posted: February 11, 2011 14:00 by packwoodm
Hi,

I installed Hudson a month ago at my organisation and it all worked well until yesterday. Our secuirty team made a few minor changes and when the machine was rebooted Hudson refuses to start with this exception.

SEVERE: Failed to initialize Hudson
java.lang.NoClassDefFoundError: javax/crypto/SecretKey
at hudson.model.Hudson.computeVersion(Hudson.java:3678)
at hudson.model.Hudson.<init>(Hudson.java:584)
at hudson.model.Hudson.<init>(Hudson.java:571)
at hudson.WebAppMain$2.run(WebAppMain.java:222)
Exception in thread "hudson initialization thread" java.lang.NoClassDefFoundErro
r: javax/crypto/SecretKey
at hudson.model.Hudson.computeVersion(Hudson.java:3678)
at hudson.model.Hudson.<init>(Hudson.java:584)
at hudson.model.Hudson.<init>(Hudson.java:571)
at hudson.WebAppMain$2.run(WebAppMain.java:222)

The machine is running Windows XP Pro. I'm guessing it's security related so I tried running hudson as Administrator but it made no difference. It also makes no difference running from the command line, not as a service.

Anyone any ideas?

Regards,

Martin.

Posted: February 16, 2011 13:22 by susanduncan
Martin

I can't find any existing issues or posts around problems with initialize and SecretKey class. I suggest that you re-post this message to the user mailing list [1] and include the details of the minor changes that your security team made

The mailing lists are followed more closely by the community than the forum at present

rgds

susan


[1] http://java.net/projects/hudson/lists/users/archive
Replies: 1 - Last Post: February 16, 2011 13:22
by: susanduncan
 
 
Close
loading
Please Confirm
Close