简体   繁体   English

使用gradle构建spring3框架失败

[英]Failed when build spring3 framework with gradle

I tried to build spring 3 framework using gradle, in ubuntu 12.04. 我试图在Ubuntu 12.04中使用Gradle构建Spring 3框架。 but there was an error when build aspects progress. 但是在构建方面进行时出现错误。 the error is as follow: 错误如下:

spring-aspects:compileJava
Download http://repo.springsource.org/libs-release/org/aspectj/aspectjtools/1.6.12/aspectjtools-1.6.12.jar
[ant:iajc] <Unknown> [warning] Found @DeclareAnnotation while current release does not support it (see 'org.aspectj.weaver.bcel.AtAjAttributes')
[ant:iajc]  
:spring-aspects:classes
:spring-aspects:jar
:spring-expression:javadoc
/home/hendri/spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/OpMultiply.java:28: error: unmappable character for encoding UTF8
 * <p>If any of the operands is of a reference type, unboxing conversion (�5.1.8) is performed. Then:<br>
                                                                          ^
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':spring-expression:javadoc'.
> Javadoc generation failed.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 24 mins 10.5 secs

can somebody help me to pass this error and build the spring 3 framework?? 有人可以帮助我传递此错误并构建spring 3框架吗? thanks.. 谢谢..

Try update the Spring code. 尝试更新Spring代码。 If that not works take a look at what encoding are you compiling against. 如果这样不起作用,请查看您针对哪种编码进行编译。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM