2

I have a simple webservices apps that I'm deploying to weblogic 10.3.6. I have some dependent jar files for the project. I have a jar file for an app that I'm working with (oimclient.jar). When I package that jar file with the war file, it throws the following error:

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
4

2 回答 2

0

provided如果存在实际上不在您的容器中的依赖项,请检查 SampleApp 的 pom 。

于 2016-04-06T10:04:42.237 回答
0

不幸的是,您正在使用的 oimclient jar 版本(从 $OIM_HOME/server/client 复制)在 weblogic 部署方面存在一些问题。您需要从不同位置复制 oimclient jar 文件,如下所示 -

  1. 转到 $OIM_HOME/server/apps
  2. 将 spml-xsd.ear 文件复制到本地计算机
  3. 使用解压缩实用程序提取文件
  4. 使用 spml-xsd\APP-INF\lib 下的 oimclient jar

这将解决您的问题。

于 2018-03-18T22:54:41.463 回答