我正在尝试升级 weblogic 服务器 12.2.1.4.0,不幸的是它会为 com.mysema.query.dml.UpdateClause 类抛出 ClassNotFoundException。下面是 weblogic 的完整错误跟踪。但是我没有使用com.mysema依赖项,为此我还检查了使用 maven 的应用程序的依赖项树,这个依赖项不存在。我还尝试下载querydsl-core-3.7.4.jar并放入服务器库,这也不起作用。如果有人遇到过此类问题,请建议我一些解决方法。
<Jun 18, 2020> <Error> <Deployer> <BEA-149205> <Failed to initialize the application "appWebapp [Version=10.2.0_40.0.0]" due to error weblogic.management.DeploymentException: java.lang.ClassNotFoundException: com.mysema.query.dml.UpdateClause
weblogic.management.DeploymentException: java.lang.ClassNotFoundException: com.mysema.query.dml.UpdateClause
at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:132)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:244)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:66)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: com.mysema.query.dml.UpdateClause
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:101)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
Truncated. see log file for complete stacktrace
>
<Jun 18, 2020> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application "appWebapp [Version=10.2.0_40.0.0]".