组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Glenn Buckholtz
What version of JasperSoft iReport Designer works with portlet
2013年1月31日 下午1:27
答复

Glenn Buckholtz

等级: New Member

帖子: 3

加入日期: 2010年4月29日

最近的帖子

I am trying to put a report that I have generated with iReport Designer 4.7 and 5.0 with no success.
Whenever the job runs I get the following error:


19:29:00,103 ERROR [Digester:1635] Parse Error at line 2 column 483: cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.
org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'uuid' is not allowed to appear in element 'jasperReport'.


This report runs just fine in iReport just not in Liferay.

Suggestions?
Hitoshi Ozawa
RE: What version of JasperSoft iReport Designer works with portlet
2013年1月31日 下午1:52
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7990

加入日期: 2010年3月23日

最近的帖子

I haven't used Liferay.com's Reporting portlet but from the error message, it seems you have uuid in your JasperReport file that is in conflict with Liferay's portlet variable.
Try changing it to something else.
Glenn Buckholtz
RE: What version of JasperSoft iReport Designer works with portlet
2013年1月31日 下午2:01
答复

Glenn Buckholtz

等级: New Member

帖子: 3

加入日期: 2010年4月29日

最近的帖子

I have tried several different reports and I get the same uuid error.

I am thinking that it has to do with the jaspersoft engine. It may be very old and doesn't understand the xml generated by the newer iReport Designers. I am using the latest release EE build from the market place for Jaspersoft Reports and Reports EE.

Isn't there anything from Liferay that documents what iReports Designer is compatible with Jasper Reports EE ?
Hitoshi Ozawa
RE: What version of JasperSoft iReport Designer works with portlet
2013年1月31日 下午2:48
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7990

加入日期: 2010年3月23日

最近的帖子

You'll have to contact Liferay.com about it instead of the community. I don't think they offer anything more than what's available online in the Documentation but I'm not sure.

I'm using liferay's framework but found that most of the users are unhappy with their portlets so we've developed our own.

There's also Aperte Reports portlet which seems to be better and slightly better documented.

http://code.google.com/p/aperte-reports/
Richard SINELLE
RE: What version of JasperSoft iReport Designer works with portlet
2013年2月12日 下午12:35
答复

Richard SINELLE

等级: Junior Member

帖子: 26

加入日期: 2011年4月7日

最近的帖子

You need to use ireport désigner corresponding to the version embedded of jasper library in the jasperweb report portlet.
But if you need a specific version of jasper you can upgrade the jasper report library version in jasperwebreport portlet.
I did it for a project ans it´s word perfectly

Richard
Cody Hoag
RE: What version of JasperSoft iReport Designer works with portlet
2013年2月22日 上午8:50
答复

Cody Hoag

LIFERAY STAFF

等级: New Member

帖子: 17

加入日期: 2012年4月26日

最近的帖子

The 4.5.1 iReport-Designer is the most up to date version that does not insert the uuid into the jasperReport element. The reports created by the 4.5.1 version work great with no errors in the Liferay Reports app.
Wessel Oosthuizen
RE: What version of JasperSoft iReport Designer works with portlet
2013年5月31日 上午5:58
答复

Wessel Oosthuizen

等级: Junior Member

帖子: 25

加入日期: 2012年8月9日

最近的帖子

In iReport you can set the compatibility level by going to "Tools" then "Options" and then the "Compatibility" tab. Change it to "JasperReports4.5.0". Now every time you save a report it will not add the "uuid" attribute anywhere...
Glenn Buckholtz
RE: What version of JasperSoft iReport Designer works with portlet
2013年5月31日 上午8:12
答复

Glenn Buckholtz

等级: New Member

帖子: 3

加入日期: 2010年4月29日

最近的帖子

I had a look on my iReport 5.0.1 for OS/X and I can't find a compatibility tab anywhere. Were you referring to a windows version? What version of iReport are you using?
James Falkner
RE: What version of JasperSoft iReport Designer works with portlet
2013年5月31日 上午8:40
答复

James Falkner

LIFERAY STAFF

等级: Liferay Legend

帖子: 1216

加入日期: 2010年9月17日

最近的帖子

Glenn Buckholtz:
I had a look on my iReport 5.0.1 for OS/X and I can't find a compatibility tab anywhere. Were you referring to a windows version? What version of iReport are you using?



Check out this screenshot (I recently ran into this too and setting compatibility to 4.0.2 solved it).

Preferences->General->Compatibility

BTW, I also used the tool to create a template, which included some images (like "coffee.jpg") which are nowhere to be found when used in Liferay to generate reports, and I had no idea where to put the images.. So I deleted the images from the template.
附件

附件: Screen Shot 2013-05-31 at 11.39.44 AM.png (63.2k)
Wessel Oosthuizen
RE: What version of JasperSoft iReport Designer works with portlet
2013年5月31日 上午8:57
答复

Wessel Oosthuizen

等级: Junior Member

帖子: 25

加入日期: 2012年8月9日

最近的帖子

Glenn Buckholtz:
I had a look on my iReport 5.0.1 for OS/X and I can't find a compatibility tab anywhere. Were you referring to a windows version? What version of iReport are you using?



I'm using iReport 5.1 for windows. The screenshot from James looks the same in my version. JasperReports 4.5 works as well for compatibility.

I use Aperte Reports though, which had the same issue, as it's actually a problem with JasperReports...
James Falkner
RE: What version of JasperSoft iReport Designer works with portlet
2013年5月31日 上午9:07
答复

James Falkner

LIFERAY STAFF

等级: Liferay Legend

帖子: 1216

加入日期: 2010年9月17日

最近的帖子

Wessel Oosthuizen:
Glenn Buckholtz:
I had a look on my iReport 5.0.1 for OS/X and I can't find a compatibility tab anywhere. Were you referring to a windows version? What version of iReport are you using?



I'm using iReport 5.1 for windows. The screenshot from James looks the same in my version. JasperReports 4.5 works as well for compatibility.

I use Aperte Reports though, which had the same issue, as it's actually a problem with JasperReports...


I believe it's because we bundle in an old version of the JasperReports engine with the JasperReports EE plugin. The actual version bundled as of now is 4.0.2. I'll file a ticket to get this looked at for a potential upgrade, but for now it's 4.0.2, which is why I chose the 4.0.2 compatibility level, but if 4.5 also works, then that's cool. Must be in version after 4.5 that the uuid stuff was included.
James Falkner
RE: What version of JasperSoft iReport Designer works with portlet
2013年5月31日 上午9:11
答复

James Falkner

LIFERAY STAFF

等级: Liferay Legend

帖子: 1216

加入日期: 2010年9月17日

最近的帖子

James Falkner:
Wessel Oosthuizen:
Glenn Buckholtz:
I had a look on my iReport 5.0.1 for OS/X and I can't find a compatibility tab anywhere. Were you referring to a windows version? What version of iReport are you using?



I'm using iReport 5.1 for windows. The screenshot from James looks the same in my version. JasperReports 4.5 works as well for compatibility.

I use Aperte Reports though, which had the same issue, as it's actually a problem with JasperReports...


I believe it's because we bundle in an old version of the JasperReports engine with the JasperReports EE plugin. The actual version bundled as of now is 4.0.2. I'll file a ticket to get this looked at for a potential upgrade, but for now it's 4.0.2, which is why I chose the 4.0.2 compatibility level, but if 4.5 also works, then that's cool. Must be in version after 4.5 that the uuid stuff was included.


Ok, seems Hai already filed LPS-34591. So I would highly recommend all of you interested in seeing this upgrade to 'Vote' for the ticket by signing into JIRA and clicking "Vote" emoticon
Jack Bakker
RE: What version of JasperSoft iReport Designer works with portlet
2013年5月31日 上午9:38
答复

Jack Bakker

等级: Liferay Master

帖子: 604

加入日期: 2010年1月3日

最近的帖子

I've been using jasperreports for BI for over 10 years including in Liferay ; I have always just picked a jasperreports and cooresponding ireport version and ran with it - updating jasperreports*.jar in portlet lib as needed (in liferay lining up with ROOT/WEB-INF/lib *.jar version also)

but in context of this issue, perhaps I am missing something fundamental here wrt whatever it is the JasperReports EE plugin does...