Compiler errors 未找到org.mule.module.client.MuleClient编译错误
我有一个Mule项目,它生成以下编译错误:Compiler errors 未找到org.mule.module.client.MuleClient编译错误,compiler-errors,mule,anypoint-studio,Compiler Errors,Mule,Anypoint Studio,我有一个Mule项目,它生成以下编译错误: ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /G:/git/edx-client-service/edx_client/src/test/java/test
-------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /G:/git/edx-client-service/edx_client/src/test/java/test/RestTestBase.java:[21,30] package org.mule.module.client does not exist
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.633 s
[INFO] Finished at: 2015-09-18T15:23:08-06:00
[INFO] Final Memory: 37M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project edx_client: Compilation failure
[ERROR] /G:/git/edx-client-service/edx_client/src/test/java/test/RestTestBase.java:[21,30] package org.mule.module.client does not exist
我已尝试在pom.xml文件中排除测试包,以解决此问题:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/src/test/*</exclude>
</excludes>
</configuration>
</plugin>
org.apache.maven.plugins
maven编译器插件
**/src/测试/*
这是行不通的。我在谷歌上搜索过任何想法,但都没有用。你知道我接下来需要做什么吗?你的maven依赖项上似乎没有“org.mule.module.client”
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-client</artifactId>
<version>${mule.version}</version>
<scope>provided</scope>
</dependency>
org.mule.modules
mule模块客户端
${mule.version}
假如
似乎您的maven依赖项中没有“org.mule.module.client”
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-client</artifactId>
<version>${mule.version}</version>
<scope>provided</scope>
</dependency>
org.mule.modules
mule模块客户端
${mule.version}
假如
似乎您的maven依赖项中没有“org.mule.module.client”
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-client</artifactId>
<version>${mule.version}</version>
<scope>provided</scope>
</dependency>
org.mule.modules
mule模块客户端
${mule.version}
假如
似乎您的maven依赖项中没有“org.mule.module.client”
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-client</artifactId>
<version>${mule.version}</version>
<scope>provided</scope>
</dependency>
org.mule.modules
mule模块客户端
${mule.version}
假如
您需要将该依赖项添加到您的项目中,但可能还需要其他Mule依赖项,因此一个好的解决方案是添加具有测试范围的分发依赖项(这样它就不会包含在打包的应用程序中):org.mule.distributions:mule standalone:3.7.0:tar.gz您需要将该依赖项添加到项目中,但可能还需要其他mule依赖项,因此一个好的解决方案是添加具有测试范围的分发依赖项(这样它就不会包含在打包的应用程序中):org.mule.distributions:mule standalone:3.7.0:tar.gz您需要将该依赖项添加到项目中,但可能还需要其他mule依赖项,因此一个好的解决方案是添加具有测试范围的分发依赖项(这样它就不会包含在打包的应用程序中):org.mule.distributions:mule standalone:3.7.0:tar.gz您需要将该依赖项添加到项目中,但可能还需要其他mule依赖项,因此一个好的解决方案是添加具有测试范围的分发依赖项(这样它就不会包含在打包的应用程序中):org.mule.distributions:mule standalone:3.7.0:tar.gz尝试从POM文件中排除依赖项,然后从此处下载所需的JAR文件。不要忘记将其添加到构建路径。尝试从POM文件中排除依赖项,然后从此处下载所需的JAR文件。不要忘记将其添加到您的构建路径构建路径。尝试从POM文件中排除依赖项,然后从此处下载所需的JAR文件。不要忘记将其添加到构建路径。尝试从POM文件中排除依赖项,然后从此处下载所需的JAR文件。不要忘了将其添加到构建路径。在日食。这可能会有帮助,因为我在其他项目中为我做过这项工作。我仍然有同样的问题。添加mule模块客户机依赖项就成功了。感谢您的帮助。在eclipse中清理并构建所有项目。这可能会有帮助,因为我在其他项目中为我做过这项工作。我仍然有同样的问题。添加mule模块客户机依赖项就成功了。感谢您的帮助。在eclipse中清理并构建所有项目。这可能会有帮助,因为我在其他项目中为我做过这项工作。我仍然有同样的问题。添加mule模块客户机依赖项就成功了。感谢您的帮助。在eclipse中清理并构建所有项目。这可能会有帮助,因为我在其他项目中为我做过这项工作。我仍然有同样的问题。添加mule模块客户机依赖项就成功了。谢谢你的帮助。这确实对我有用。由于JDK 8的严格规则,我出现了一些Javadoc错误,但通过关闭doclint暂时绕过了这些错误。感谢您的帮助!我非常感激。:)这确实对我有用。由于JDK 8的严格规则,我出现了一些Javadoc错误,但通过关闭doclint暂时绕过了这些错误。感谢您的帮助!我非常感激。:)这确实对我有用。由于JDK 8的严格规则,我出现了一些Javadoc错误,但通过关闭doclint暂时绕过了这些错误。感谢您的帮助!我非常感激。:)这确实对我有用。由于JDK 8的严格规则,我出现了一些Javadoc错误,但通过关闭doclint暂时绕过了这些错误。感谢您的帮助!我非常感激。:)