0

我的同事和我在相同的环境中:

  • 弹簧工具套件 2.9.2 (Eclipse 3.7.2)
  • Java 6 更新 43
  • VMware vFabric tc Server v2.5、v2.6、v.27(tomcat-7.0.20.B.RELEASE)

我的服务器启动时没有问题;但是,他的服务器出现以下错误:

SEVERE: Unable to load property source[com.springsource.tcserver.security.PropertyDecoder].
java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available
    at javax.crypto.SecretKeyFactory.<init>(DashoA13*..)
    at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..)
    at com.springsource.tcserver.security.KeyDecoder.initCiphers(KeyDecoder.java:68)
    at com.springsource.tcserver.security.KeyDecoder.<init>(KeyDecoder.java:48)
    at com.springsource.tcserver.security.PropertyDecoder.<init>(PropertyDecoder.java:145)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at org.apache.tomcat.util.digester.Digester.<clinit>(Digester.java:100)
    at org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:303)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:546)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:658)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)

知道可能是什么原因造成的吗?

4

1 回答 1

0

我不确定是什么原因造成的,但升级到Java 7 Update 17修复它。

于 2013-04-12T13:21:19.103 回答