1

我尝试在 ubuntu 12.04 中使用 gradle 构建 Spring 3 框架。但是在构建方面进行时出现错误。错误如下:

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

有人可以帮我解决这个错误并构建 spring 3 框架吗?谢谢..

4

1 回答 1

0

尝试更新 Spring 代码。如果这不起作用,请查看您编译的编码是什么。

于 2012-06-12T08:25:48.253 回答