尝试使用 weblogi-maven-plugin 执行 jwsc 任务得到以下错误
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>weblogic-maven-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>jwsc</goal>
</goals>
<configuration>
<contextPath>${basedir}/AccountInqWeb</contextPath>
<weblogicHome>C:/u001/isuser/tesbea</weblogicHome>
</configuration>
</execution>
</executions>
</plugin>
无法在项目 AccountInqWeb 上执行目标 org.codehaus.mojo:weblogic-maven-plugin:2.9.1:jwsc(默认):目标 org.codehaus.mojo:weblogic-maven-plugin:2.9.1:jwsc 的执行默认失败: 执行 org.codehaus.mojo:weblogic-maven-plugin:2.9.1:jwsc: weblogic/diagnostics/debug/DebugLogger 时缺少必需的类
领域 = 插件>org.codehaus.mojo:weblogic-maven-plugin:2.9.1 策略 = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Users/darshanp/.m2/存储库/org/codehaus/mojo/weblogic-maven-plugin/2.9.1/weblogic-maven-plugin-2.9.1.jar urls[1] = file:/C:/Users/darshanp/.m2/repository/org /codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar urls[2] = file:/C:/Users/darshanp/.m2/repository/ant/ant/1.6.5/ ant-1.6.5.jar urls[3] = file:/C:/Users/darshanp/.m2/repository/weblogic/weblogic/10.3/weblogic-10.3.jar urls[4] = file:/C:/Users /darshanp/.m2/repository/weblogic/webservices/10.3/webservices-10.3.jar 国外进口数量:1 进口:Entry[import from realm ClassRealm[maven.api, parent: null]]
-------------------------------------------------- ---: weblogic.diagnostics.debug.DebugLogger -> [帮助 1]