【问题标题】:Annotation processor 'com.sun.tools.ws.processor.modeler.annotation.WebServiceAp' not found未找到注释处理器“com.sun.tools.ws.processor.modeler.annotation.WebServiceAp”
【发布时间】:2019-03-06 21:05:19
【问题描述】:

我有一个我继承的 Java 应用程序,它在 Weblogic 12.2.1 服务器上运行。它使用的是 JDK 1.8.0_172。

当我尝试使用 ANT build.xml 文件构建它时,我收到以下错误:

Annotation processor 'com.sun.tools.ws.processor.modeler.annotation.WebServiceAp' not found

而错误指向build.xml文件中的这一行...

<jwsc srcdir="${src}" includeantruntime="false" destdir="${ear.dir}" verbose="off" debug="on" classpathref="compile.class.path" >

我已经尝试将我的 Weblogic 恢复到 12.1 和其他一些东西 - 到目前为止没有任何效果。

我不知道要修复什么,因为我在项目或工作区的任何地方都找不到对 WebServiceAp 的引用。

有什么建议吗?提前致谢。

【问题讨论】:

    标签: ant weblogic


    【解决方案1】:

    在运行 ant 任务之前,您必须将库 ${MW_HOME}/oracle_common/modules/clients/com.oracle.webservices.fmw.client.jar 添加到您的类路径中。

    【讨论】:

    • 谢谢。那是我在安装 Oracle 时会找到的 jar 文件吗?我已经安装了 Oracle 12.1.3.0 和 12.2.1.3,并且我已经搜索了 com.oracle.webservices.fmw.client.jar 的任何实例。我认为这两种安装都不存在。
    • 你应该在 12.2.1.3 中找到它
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-02-03
    • 2011-01-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多