weblogic.management.DeploymentException:java.lang.ClassNotFoundException:com.mysema.query.dml.UpdateClause

Rav*_*avi 5 weblogic querydsl weblogic12c

我正在尝试启动 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]".
Run Code Online (Sandbox Code Playgroud)

jcc*_*ero 0

请尝试在您的文件中提供以下依赖项pom.xml

<dependency>
    <groupId>com.mysema.querydsl</groupId>
    <artifactId>querydsl-jpa</artifactId>
    <version>2.0.7</version>
</dependency>
Run Code Online (Sandbox Code Playgroud)

就我而言,它成功了。