Closed 365264101 closed 10 years ago
执行install.bat,install common的时候出错
[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[8,32] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jca ptcha\JCaptcha.java:8: 找不到符号 符号: 类 CaptchaServiceException 位置: 软件包 com.octo.captcha.service [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[15,8] D:\maven\es\common\src\main\java\com\si shuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:15: 无法访问 c om.octo.captcha.service.CaptchaService 未找到 com.octo.captcha.service.CaptchaService 的类文件 [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[17,81] D:\maven\es\common\src\main\java\com\s ishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:17: 找不到符 号 符号: 类 CaptchaStore 位置: 软件包 com.octo.captcha.service.captchastore [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[17,132] D:\maven\es\common\src\main\java\com\ sishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:17: 找不到符 号 符号: 类 CaptchaEngine 位置: 软件包 com.octo.captcha.engine [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[29,39] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:29: 找不到符号 符号: 方法 validateResponseForID(java.lang.String,java.lang.String) 位置: 类 com.sishuok.es.common.web.jcaptcha.EsManageableImageCaptchaService [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[30,18] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:30: 找不到符号 符号: 类 CaptchaServiceException 位置: 类 com.sishuok.es.common.web.jcaptcha.JCaptcha [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[42,18] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:42: 找不到符号 符号: 类 CaptchaServiceException 位置: 类 com.sishuok.es.common.web.jcaptcha.JCaptcha [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[22,16] D:\maven\es\common\src\main\java\com\s ishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:22: 找不到符 号 符号: 变量 store 位置: 类 com.sishuok.es.common.web.jcaptcha.EsManageableImageCaptchaService [INFO] 8 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 39.188s [INFO] Finished at: Wed Jun 25 13:56:13 CST 2014 [INFO] Final Memory: 15M/44M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3. 0:compile (default-compile) on project es-common: Compilation failure: Compilati on failure: [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[8,32] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jca ptcha\JCaptcha.java:8: 找不到符号 [ERROR] 符号: 类 CaptchaServiceException [ERROR] 位置: 软件包 com.octo.captcha.service [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[15,8] D:\maven\es\common\src\main\java\com\si shuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:15: 无法访问 c om.octo.captcha.service.CaptchaService [ERROR] 未找到 com.octo.captcha.service.CaptchaService 的类文件 [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[17,81] D:\maven\es\common\src\main\java\com\s ishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:17: 找不到符 号 [ERROR] 符号: 类 CaptchaStore [ERROR] 位置: 软件包 com.octo.captcha.service.captchastore [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[17,132] D:\maven\es\common\src\main\java\com\ sishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:17: 找不到符 号 [ERROR] 符号: 类 CaptchaEngine [ERROR] 位置: 软件包 com.octo.captcha.engine [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[29,39] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:29: 找不到符号 [ERROR] 符号: 方法 validateResponseForID(java.lang.String,java.lang.String) [ERROR] 位置: 类 com.sishuok.es.common.web.jcaptcha.EsManageableImageCaptchaSer vice [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[30,18] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:30: 找不到符号 [ERROR] 符号: 类 CaptchaServiceException [ERROR] 位置: 类 com.sishuok.es.common.web.jcaptcha.JCaptcha [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[42,18] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:42: 找不到符号 [ERROR] 符号: 类 CaptchaServiceException [ERROR] 位置: 类 com.sishuok.es.common.web.jcaptcha.JCaptcha [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[22,16] D:\maven\es\common\src\main\java\com\s ishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:22: 找不到符 号 [ERROR] 符号: 变量 store [ERROR] 位置: 类 com.sishuok.es.common.web.jcaptcha.EsManageableImageCaptchaSer vice [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption
添加jcaptcha-api依赖后问题已解决
执行install.bat,install common的时候出错
[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[8,32] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jca ptcha\JCaptcha.java:8: 找不到符号 符号: 类 CaptchaServiceException 位置: 软件包 com.octo.captcha.service [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[15,8] D:\maven\es\common\src\main\java\com\si shuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:15: 无法访问 c om.octo.captcha.service.CaptchaService 未找到 com.octo.captcha.service.CaptchaService 的类文件 [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[17,81] D:\maven\es\common\src\main\java\com\s ishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:17: 找不到符 号 符号: 类 CaptchaStore 位置: 软件包 com.octo.captcha.service.captchastore [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[17,132] D:\maven\es\common\src\main\java\com\ sishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:17: 找不到符 号 符号: 类 CaptchaEngine 位置: 软件包 com.octo.captcha.engine [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[29,39] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:29: 找不到符号 符号: 方法 validateResponseForID(java.lang.String,java.lang.String) 位置: 类 com.sishuok.es.common.web.jcaptcha.EsManageableImageCaptchaService [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[30,18] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:30: 找不到符号 符号: 类 CaptchaServiceException 位置: 类 com.sishuok.es.common.web.jcaptcha.JCaptcha [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[42,18] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:42: 找不到符号 符号: 类 CaptchaServiceException 位置: 类 com.sishuok.es.common.web.jcaptcha.JCaptcha [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[22,16] D:\maven\es\common\src\main\java\com\s ishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:22: 找不到符 号 符号: 变量 store 位置: 类 com.sishuok.es.common.web.jcaptcha.EsManageableImageCaptchaService [INFO] 8 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 39.188s [INFO] Finished at: Wed Jun 25 13:56:13 CST 2014 [INFO] Final Memory: 15M/44M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3. 0:compile (default-compile) on project es-common: Compilation failure: Compilati on failure: [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[8,32] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jca ptcha\JCaptcha.java:8: 找不到符号 [ERROR] 符号: 类 CaptchaServiceException [ERROR] 位置: 软件包 com.octo.captcha.service [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[15,8] D:\maven\es\common\src\main\java\com\si shuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:15: 无法访问 c om.octo.captcha.service.CaptchaService [ERROR] 未找到 com.octo.captcha.service.CaptchaService 的类文件 [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[17,81] D:\maven\es\common\src\main\java\com\s ishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:17: 找不到符 号 [ERROR] 符号: 类 CaptchaStore [ERROR] 位置: 软件包 com.octo.captcha.service.captchastore [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[17,132] D:\maven\es\common\src\main\java\com\ sishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:17: 找不到符 号 [ERROR] 符号: 类 CaptchaEngine [ERROR] 位置: 软件包 com.octo.captcha.engine [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[29,39] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:29: 找不到符号 [ERROR] 符号: 方法 validateResponseForID(java.lang.String,java.lang.String) [ERROR] 位置: 类 com.sishuok.es.common.web.jcaptcha.EsManageableImageCaptchaSer vice [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[30,18] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:30: 找不到符号 [ERROR] 符号: 类 CaptchaServiceException [ERROR] 位置: 类 com.sishuok.es.common.web.jcaptcha.JCaptcha [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/JCa ptcha.java:[42,18] D:\maven\es\common\src\main\java\com\sishuok\es\common\web\jc aptcha\JCaptcha.java:42: 找不到符号 [ERROR] 符号: 类 CaptchaServiceException [ERROR] 位置: 类 com.sishuok.es.common.web.jcaptcha.JCaptcha [ERROR] /D:/maven/es/common/src/main/java/com/sishuok/es/common/web/jcaptcha/EsM anageableImageCaptchaService.java:[22,16] D:\maven\es\common\src\main\java\com\s ishuok\es\common\web\jcaptcha\EsManageableImageCaptchaService.java:22: 找不到符 号 [ERROR] 符号: 变量 store [ERROR] 位置: 类 com.sishuok.es.common.web.jcaptcha.EsManageableImageCaptchaSer vice [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption