Sakai 学习社区

 找回密码
 立即注册
查看: 1082|回复: 1

求助:远教版11.2源码编译失败

[复制链接]

1

主题

4

帖子

59

积分

注册会员

Rank: 2

积分
59
发表于 2017-3-19 10:28:58 | 显示全部楼层 |阅读模式
看提示是连接超时?但我开SS访问时报404……
http://google-maven-repository.googlecode.com/svn/repository/

  1. [INFO] BigBlueButton Tool ................................. SUCCESS [  1.599 s]
  2. [INFO] sakai-resource ..................................... FAILURE [18:46 min]
  3. [INFO] Sakai base pom ..................................... SKIPPED
  4. [INFO] ------------------------------------------------------------------------
  5. [INFO] BUILD FAILURE
  6. [INFO] ------------------------------------------------------------------------
  7. [INFO] Total time: 31:27 min
  8. [INFO] Finished at: 2017-03-19T10:20:14+08:00
  9. [INFO] Final Memory: 479M/1349M
  10. [INFO] ------------------------------------------------------------------------
  11. [ERROR] Failed to execute goal on project sakai-resource: Could not resolve dependencies for project org.sakaiproject:sakai-resource:war:11-SNAPSHOT: Failed to collect dependencies at com.oracle:ojdbc14:jar:14_g: Failed to read artifact descriptor for com.oracle:ojdbc14:jar:14_g: Could not transfer artifact com.oracle:ojdbc14:pom:14_g from/to google-maven-repository (http://google-maven-repository.googlecode.com/svn/repository/): Connect to google-maven-repository.googlecode.com:80 [google-maven-repository.googlecode.com/64.233.187.82] failed: Connection timed out -> [Help 1]
  12. [ERROR]
  13. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  14. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  15. [ERROR]
  16. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  17. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  18. [ERROR]
  19. [ERROR] After correcting the problems, you can resume the build with the command
  20. [ERROR]   mvn <goals> -rf :sakai-resource
复制代码
回复

使用道具 举报

0

主题

2

帖子

20

积分

新手上路

Rank: 1

积分
20
发表于 2017-4-8 23:04:19 | 显示全部楼层
maven中没有oracle jdbc的jar包,可以把jar包下载回来,放到工程的lib目录中,然后定义为本地的jar包使用。
<dependency>
                        <groupId>com.oracle</groupId>
                        <artifactId>ojdbc14</artifactId>
                        <version>10.2.0.4.0</version>
                        <scope>system</scope>
                        <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ojdbc14-10.2.0.4.0.jar</systemPath>
                </dependency>
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Sakai 开源社区 ( 京ICP备16051938号-2 京公网安备 11010802023546号

GMT+8, 2019-9-16 08:37 , Processed in 0.061203 second(s), 9 queries , File On.

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表