问题描述
我想启动画面,但是因为报异常,怎样解决啊?我在线等啊,请多指点啊.[09/12/0913:06:16:625CST]b1e08f1WSSecurityComEWSEC0019E:KeyLocatorSampleSenderEncryptionKeyLocatorのロードに失敗しました。例外はjava.lang.ExceptionInInitializerError:java.lang.SecurityException:CannotsetupcertsfortrustedCAsatjavax.crypto.f.<clinit>(UnknownSource)atjavax.crypto.m.<clinit>(UnknownSource)atjavax.crypto.b.run(UnknownSource)atjava.security.AccessController.doPrivileged(NativeMethod)atjavax.crypto.Cipher.init(UnknownSource)atcom.ibm.crypto.provider.x.a(UnknownSource)atcom.ibm.crypto.provider.JceKeyStore.engineGetKey(UnknownSource)atjava.security.KeyStore.getKey(KeyStore.java:278)atcom.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator.init(KeyStoreKeyLocator.java:222)atcom.ibm.xml.soapsec.util.ConfigUtil.instantiate(ConfigUtil.java:245)atcom.ibm.ws.webservices.wssecurity.util.ConfigConstants.readKeyLocator(ConfigConstants.java:321)atcom.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl.loadConfig(WSSecurityComponentImpl.java:332)atcom.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl.access$300(WSSecurityComponentImpl.java:97)atcom.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl$WSSecurityListener.stateChanged(WSSecurityComponentImpl.java:539)atcom.ibm.ws.security.core.SecurityComponentImpl.fireStartedEvent(SecurityComponentImpl.java:857)atcom.ibm.ws.security.core.SecurityComponentImpl.startSecurity(SecurityComponentImpl.java:602)atcom.ibm.ws.security.core.ServerSecurityComponentImpl.start(ServerSecurityComponentImpl.java:157)atcom.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)atcom.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)atcom.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)atcom.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)atcom.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)atcom.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)atcom.ibm.ws.runtime.WsServer.start(WsServer.java:128)atcom.ibm.ws.runtime.WsServer.main(WsServer.java:225)atjava.lang.reflect.Method.invoke(NativeMethod)atcom.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)atcom.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)です。[09/12/0913:06:16:656CST]b1e08f1WSSecurityComEWSEC0019E:KeyLocatorSampleReceiverEncryptionKeyLocatorのロードに失敗しました。例外はjava.lang.NoClassDefFoundError:javax/crypto/matjavax.crypto.b.run(UnknownSource)atjava.security.AccessController.doPrivileged(NativeMethod)atjavax.crypto.Cipher.init(UnknownSource)atcom.ibm.crypto.provider.x.a(UnknownSource)atcom.ibm.crypto.provider.JceKeyStore.engineGetKey(UnknownSource)atjava.security.KeyStore.getKey(KeyStore.java:278)atcom.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator.init(KeyStoreKeyLocator.java:222)atcom.ibm.xml.soapsec.util.ConfigUtil.instantiate(ConfigUtil.java:245)atcom.ibm.ws.webservices.wssecurity.util.ConfigConstants.readKeyLocator(ConfigConstants.java:321)atcom.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl.loadConfig(WSSecurityComponentImpl.java:332)atcom.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl.access$300(WSSecurityComponentImpl.java:97)atcom.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl$WSSecurityListener.stateChanged(WSSecurityComponentImpl.java:539)atcom.ibm.ws.security.core.SecurityComponentImpl.fireStartedEvent(SecurityComponentImpl.java:857)atcom.ibm.ws.security.core.SecurityComponentImpl.startSecurity(SecurityComponentImpl.java:602)atcom.ibm.ws.security.core.ServerSecurityComponentImpl.start(ServerSecurityComponentImpl.java:157)atcom.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)atcom.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)atcom.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)atcom.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)atcom.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)atcom.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)atcom.ibm.ws.runtime.WsServer.start(WsServer.java:128)atcom.ibm.ws.runtime.WsServer.main(WsServer.java:225)atjava.lang.reflect.Method.invoke(NativeMethod)atcom.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)atcom.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)です。[09/12/0913:06:16:672CST]b1e08f1WSSecurityComEWSEC0019E:KeyLocatorSampleResponseSenderEncryptionKeyLocatorのロードに失敗しました。例外はjava.lang.NoClassDefFoundError:javax/crypto/matjavax.crypto.b.run(UnknownSource)atjava.security.AccessController.doPrivileged(NativeMethod)atjavax.crypto.Cipher.init(UnknownSource)atcom.ibm.crypto.provider.x.a(UnknownSource)atcom.ibm.crypto.provider.JceKeyStore.engineGetKey(UnknownSource)atjava.security.KeyStore.getKey(KeyStore.java:278)atcom.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator.init(KeyStoreKeyLocator.java:222)atcom.ibm.wsspi.wssecurity.config.WSIdKeyStoreMapKeyLocator.init(WSIdKeyStoreMapKeyLocator.java:53)atcom.ibm.xml.soapsec.util.ConfigUtil.instantiate(ConfigUtil.java:245)atcom.ibm.ws.webservices.wssecurity.util.ConfigConstants.readKeyLocator(ConfigConstants.java:321)atcom.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl.loadConfig(WSSecurityComponentImpl.java:332)atcom.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl.access$300(WSSecurityComponentImpl.java:97)atcom.ibm.ws.webservices.wssecurity.core.WSSecurityComponentImpl$WSSecurityListener.stateChanged(WSSecurityComponentImpl.java:539)atcom.ibm.ws.security.core.SecurityComponentImpl.fireStartedEvent(SecurityComponentImpl.java:857)atcom.ibm.ws.security.core.SecurityComponentImpl.startSecurity(SecurityComponentImpl.java:602)atcom.ibm.ws.security.core.ServerSecurityComponentImpl.start(ServerSecurityComponentImpl.java:157)atcom.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)atcom.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)atcom.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)atcom.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)atcom.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)atcom.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)atcom.ibm.ws.runtime.WsServer.start(WsServer.java:128)atcom.ibm.ws.runtime.WsServer.main(WsServer.java:225)atjava.lang.reflect.Method.invoke(NativeMethod)atcom.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)atcom.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)です。[09/12/0913:06:16:797CST]b1e08f1JMXSoapAdapteAADMC0013I:SOAPコネクターはポート8880で使用可能です[09/12/0913:06:16:859CST]b1e08f1SecurityCompoISECJ0243I:セキュリティー・サービスが正常に開始されました[09/12/0913:06:16:859CST]b1e08f1SecurityCompoISECJ0210I:セキュリティーは使用可能false[09/12/0913:06:18:328CST]b1e08f1ApplicationMgAWSVR0200I:次のアプリケーションを開始します:IBMUTC[09/12/0913:06:18:547CST]b1e08f1WebContainerASRVE0161I:IBMWebSphereApplicationServer-WebContainer.CopyrightIBMCorp.1998-2002[09/12/0913:06:18:578CST]b1e08f1WebContainerASRVE0162I:サーブレット仕様レベル:2.3[09/12/0913:06:18:578CST]b1e08f1WebContainerASRVE0163I:サポートされるJSP仕様レベル:1.2[09/12/0913:06:18:828CST]b1e08f1WebContainerASRVE0169I:Webモジュールをロード中:IBMUniversalTestClient。[09/12/0913:06:18:969CST]b1e08f1WebGroupISRVE0180I:[IBMUniversalTestClient][/UTC][Servlet.LOG]:JSP1.2Processor:init[09/12/0913:06:19:062CST]b1e08f1WebGroupISRVE0180I:[IBMUniversalTestClient][/UTC][Servlet.LOG]:SimpleFileServlet:init[09/12/0913:06:19:141CST]b1e08f1ApplicationMgAWSVR0221I:アプリケーションが始動されました:IBMUTC[09/12/0913:06:19:156CST]b1e08f1ApplicationMgAWSVR0200I:次のアプリケーションを開始します:CyhopeCD01AppEAR[09/12/0913:06:19:281CST]b1e08f1WebContainerASRVE0169I:Webモジュールをロード中:CyhopeCD01App。[09/12/0913:06:19:375CST]b1e08f1WebGroupISRVE0180I:[CyhopeCD01App][/CyhopeCD01App][Servlet.LOG]:JSP1.2Processor:init[09/12/0913:06:19:438CST]b1e08f1WebGroupISRVE0180I:[CyhopeCD01App][/CyhopeCD01App][Servlet.LOG]:SimpleFileServlet:init[09/12/0913:06:19:469CST]b1e08f1WebGroupISRVE0180I:[CyhopeCD01App][/CyhopeCD01App][Servlet.LOG]:InvokerServlet:init[09/12/0913:06:19:516CST]b1e08f1ApplicationMgAWSVR0221I:アプリケーションが始動されました:CyhopeCD01AppEAR[09/12/0913:06:19:578CST]b1e08f1HttpTransportASRVE0171I:トランスポートhttpはポート9,080にlistenしています。[09/12/0913:06:21:797CST]b1e08f1HttpTransportASRVE0171I:トランスポートhttpsはポート9,443にlistenしています。[09/12/0913:06:21:844CST]b1e08f1RMIConnectorCAADMC0026I:ポート2809でRMIコネクターが使用可能です[09/12/0913:06:21:906CST]b1e08f1WsServerAWSVR0001I:e-businessのためにサーバーserver1がオープンされました[09/12/0913:09:56:359CST]762f88f5OSEListenerDiEPLGN0021E:サーブレット要求プロセッサー例外:仮想ホスト/WebGroupが見つかりません:Webグループ/が定義されていません
解决方案
解决方案二:
java.lang.NoClassDefFoundError:javax/crypto/m提示没有这个包
解决方案三:
这个包我找到了,在D:ProgramFilesIBMWebSphereStudioApplicationDeveloperv5.1runtimesbase_v5javajrelibext/ibmjcefw.jar中有这个m.class文件,但是启动时,还是报错.请指点
解决方案四:
我觉得你导入的jar中,有可能与IBM自带的jar有重复方法。而WebSphere设置的装置顺序是以IBM自带jar为优先,你可以将IBM自带的jar先改个名或屏蔽下试试。这个问题以前在WebSphere5.1版本遇到过!6.0就没我说的这样的问题。我当时就是RA给jar与WebSphere5.1的webServer.jar有冲突报错的!