2013-10-28 94 views
2

我有一個簡單的webservices應用程序,我正在部署到weblogic 10.3.6。我有一些項目的依賴jar文件。我有一個與我一起工作的應用程序(oimclient.jar)的jar文件。當我一起打包WAR文件jar文件,它會引發以下錯誤:sun.reflect.annotation.TypeNotPresentExceptionProxy - 在weblogic上部署SOAP webservices

Failure occurred in the execution of deployment request with ID '1382734445347' for task '19'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'SampleApp.war'' 
weblogic.application.ModuleException: Failed to load webapp: 'SampleApp.war' 
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:395) 
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176) 
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199) 
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517) 
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) 
    Truncated. see log file for complete stacktrace 

Caused By: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy 
+0

我遇到同樣的問題,您是否找到解決方案? – Matt

回答

0

入住SampleApp的POM如果有provided的依賴,實際上不是你的容器中。