Spring pdf一代 [英] Spring pdf generation

查看:143
本文介绍了Spring pdf一代的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用spring 3 AbstractPdfView来生成PDF文件。
我注意到Spring没有使用新版本的iText(5.xx),但使用旧版本(2.1.7)。

I am using spring 3 AbstractPdfView in order to generate PDF files. I noticed Spring does not use the new version of iText (5.x.x) but uses an older version (2.1.7).


  1. 为什么spring不使用新包?

  2. 我在哪里可以找到旧包的文档?我似乎没有在任何地方找到它。


推荐答案

还有一个大问题更新版本的IText:他们更改了许可证。

There is an other big problem with the newer versions of IText: they changed the licence.


  • 旧的IText是LGPL或Mozilla公共许可证(直到Java 2.1.7和C# 4.1.6)

  • 实际的IText是:GNU Affero通用公共许可证AGPL - (某些定制的GPL类型)(自5.0.0起)

所以至少Spring不能包含IText 5.0.0(就像许多其他非GPL开源项目一样)

So at least Spring can not include IText 5.0.0 (like many other not GPL open source projects)

by by IText - zu Geld gierig

这篇关于Spring pdf一代的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆