使用gradle构建spring3框架时失败(Failed when build spring3 framework with gradle)

编程入门 行业动态 更新时间:2024-10-27 17:19:10
使用gradle构建spring3框架时失败(Failed when build spring3 framework with gradle)

我试图在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框架吗? 谢谢..

I tried to build spring 3 framework using gradle, in ubuntu 12.04. 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?? thanks..

最满意答案

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

Try update the Spring code. If that not works take a look at what encoding are you compiling against.

更多推荐

本文发布于:2023-08-03 04:57:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1383908.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:框架   gradle   framework   build   Failed

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!