未找到注释处理器'com.sun.tools.ws.processor.modeler.annotation.WebServiceAp'

问题描述 投票:0回答:1

我有一个我继承的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个回答
0
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.