maven 编译出错,提示找不到符号
Ws月 2016-02-24 09:47:10 [INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building comm-ProxyConsumer 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ comm-ProxyConsumer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ comm-ProxyConsumer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 111 source files to--------\comm\ProxyConsumer\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ comm-ProxyConsumer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ comm-ProxyConsumer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 111 source files to --------comm\ProxyConsumer\target\test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]------------------------.java:[12,24] 找不到符号
符号: 类 PwGeneralTest
位置: 程序包 mtx.pub.function
[ERROR]-----------------------.java:[12,24] 找不到符号
符号: 类 PwGeneralTest
位置: 程序包 mtx.pub.function
[ERROR]-------------------------.java:[12,24] 找不到符号
符号: 类 PwGeneralTest
位置: 程序包 mtx.pub.function
[ERROR]-----------------------------.java:[12,24] 找不到符号
符号: 类 PwGeneralTest
位置: 程序包 mtx.pub.function
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.489 s
[INFO] Finished at: 2016-02-24T09:38:35+08:00
[INFO] Final Memory: 21M/183M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on
project comm-ProxyConsumer: Compilation failure: Compilation failure:
[ERROR]-----------------.java:[12,24] 找不到符号
[ERROR] 符号: 类 PwGeneralTest
[ERROR] 位置: 程序包 mtx.pub.function
[ERROR]-------------------.java:[12,24] 找不到符号
[ERROR] 符号: 类 PwGeneralTest
[ERROR] 位置: 程序包 mtx.pub.function
[ERROR]-------------------.java:[12,24] 找不到符号
[ERROR] 符号: 类 PwGeneralTest
[ERROR] 位置: 程序包 mtx.pub.function
[ERROR]--------------------.java:[12,24] 找不到符号
[ERROR] 符号: 类 PwGeneralTest
[ERROR] 位置: 程序包 mtx.pub.function
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException