我无法理解为什么 maven 不接受依赖。
它正在下载存储库中的依赖项,如下所示,
其他源正在编译仅与此类未编译相关,即取决于
<dependency>
<groupId>com.maxmind.geoip</groupId>
<artifactId>geoip-api</artifactId>
<version>1.3.1</version>
</dependency>
Maven 在 Eclipse 和命令行 Maven 构建中都没有出现。
任何人都可以帮助我在这里缺少什么。在此先感谢您的帮助和信息。
[INFO] koarb - Services .................................. SUCCESS [ 7.093 s]
[INFO] gtz koarb 3.0 - webapp ............................ FAILURE [ 33.759 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:30 min
[INFO] Finished at: 2016-07-01T09:40:01+07:00
[INFO] Final Memory: 212M/868M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3:compile (default-compile) on project com.gtz.koarb.web: Compilation failure:
Compilation failure:
[ERROR] src\main\java\com\gtz\koarb\web\controllers\countryresolver\IPResolverServiceImpl.java:[41,3] error
: cannot find symbol
[ERROR]
[ERROR] src\main\java\com\gtz\koarb\web\controllers\countryresolver\IPResolverServiceImpl.java:[41,30] erro
r: cannot find symbol
[ERROR]
[ERROR] src\main\java\com\gtz\koarb\web\controllers\countryresolver\IPResolverServiceImpl.java:[41,81] erro
r: cannot find symbol
[ERROR]
[ERROR] src\main\java\com\gtz\koarb\web\controllers\countryresolver\IPResolverServiceImpl.java:[42,3] error
: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit