Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Preview errors [SOLVED]
Preview errors [SOLVED] [message #643817] Wed, 08 December 2010 11:42 Go to next message
Luis is currently offline LuisFriend
Messages: 2
Registered: December 2010
Junior Member
Ubuntu 10.10 x64
Eclipse 3.5.2
BIRT 2.5.2

I've just installed BIRT and i was following tutorial.
When i try to preview a report inside eclipse BIRT designer i get this error message:

HTTP ERROR 500

Problem accessing /viewer/run. Reason:

    No se puede compilar la clase para JSP: 

An error occurred at line: 6 in the generated java file
    [javac] /home/luis/.eclipse/org.eclipse.platform_3.5.0_155965261/configuration/org.eclipse.osgi/bundles/55/data/jettywork/pid_2037686139/proxytemp/hc_1691082485/org/apache/jsp/webcontent/birt/pages/layout/RunFragment_jsp.java:6: package org.eclipse.birt.report.presentation.aggregation does not exist
    [javac] import org.eclipse.birt.report.presentation.aggregation.IFragment;
    [javac]                                                        ^

An error occurred at line: 7 in the generated java file
    [javac] /home/luis/.eclipse/org.eclipse.platform_3.5.0_155965261/configuration/org.eclipse.osgi/bundles/55/data/jettywork/pid_2037686139/proxytemp/hc_1691082485/org/apache/jsp/webcontent/birt/pages/layout/RunFragment_jsp.java:7: package org.eclipse.birt.report.context does not exist
    [javac] import org.eclipse.birt.report.context.BaseAttributeBean;
    [javac]                                       ^

An error occurred at line: 8 in the generated java file
    [javac] /home/luis/.eclipse/org.eclipse.platform_3.5.0_155965261/configuration/org.eclipse.osgi/bundles/55/data/jettywork/pid_2037686139/proxytemp/hc_1691082485/org/apache/jsp/webcontent/birt/pages/layout/RunFragment_jsp.java:8: package org.eclipse.birt.report.resource does not exist
    [javac] import org.eclipse.birt.report.resource.ResourceConstants;
    [javac]                    

...                    ^


It seems that something is needed is the classpath.
In Windows > Preferences > Report Design > Classpath I added viewer.jar plus all *birt*.jar files i found in [plugins] but it didn't fix the problem.

Is it neccesary to add "by hand" those jars? Where's the right place to do it?

Thanks.

[Updated on: Wed, 08 December 2010 19:32]

Report message to a moderator

Re: Preview errors [message #643913 is a reply to message #643817] Wed, 08 December 2010 16:46 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Are you using the allinone download for linux?

Jason

On 12/8/2010 6:42 AM, lf.iglesias@gmail.com wrote:
> Ubuntu 10.10 x64
> Eclipse 3.5.2
> BIRT 2.5.2
>
> I've just installed BIRT and i was following tutorial.
> When i try to preview a report inside eclipse BIRT designer i get this
> error message:
>
>
> HTTP ERROR 500
>
> Problem accessing /viewer/run. Reason:
>
> No se puede compilar la clase para JSP:
> An error occurred at line: 6 in the generated java file
> [javac]
> /home/luis/.eclipse/org.eclipse.platform_3.5.0_155965261/con figuration/org.eclipse.osgi/bundles/55/data/jettywork/pid_20 37686139/proxytemp/hc_1691082485/org/apache/jsp/webcontent/b irt/pages/layout/RunFragment_jsp.java:6:
> package org.eclipse.birt.report.presentation.aggregation does not exist
> [javac] import org.eclipse.birt.report.presentation.aggregation.IFragment;
> [javac] ^
>
> An error occurred at line: 7 in the generated java file
> [javac]
> /home/luis/.eclipse/org.eclipse.platform_3.5.0_155965261/con figuration/org.eclipse.osgi/bundles/55/data/jettywork/pid_20 37686139/proxytemp/hc_1691082485/org/apache/jsp/webcontent/b irt/pages/layout/RunFragment_jsp.java:7:
> package org.eclipse.birt.report.context does not exist
> [javac] import org.eclipse.birt.report.context.BaseAttributeBean;
> [javac] ^
>
> An error occurred at line: 8 in the generated java file
> [javac]
> /home/luis/.eclipse/org.eclipse.platform_3.5.0_155965261/con figuration/org.eclipse.osgi/bundles/55/data/jettywork/pid_20 37686139/proxytemp/hc_1691082485/org/apache/jsp/webcontent/b irt/pages/layout/RunFragment_jsp.java:8:
> package org.eclipse.birt.report.resource does not exist
> [javac] import org.eclipse.birt.report.resource.ResourceConstants;
> [javac]
> ... ^
>
>
> It seems that something is needed is the classpath.
> In Windows > Preferences > Report Design > Classpath I added viewer.jar
> plus all *birt*.jar files i found in [plugins] but it didn't fix the
> problem.
>
> Is it neccesary to add "by hand" those jars? Where's the right place to
> do it?
>
> Thanks.
Re: Preview errors [SOLVED] [message #643951 is a reply to message #643913] Wed, 08 December 2010 19:31 Go to previous messageGo to next message
Luis is currently offline LuisFriend
Messages: 2
Registered: December 2010
Junior Member
Quote:
Are you using the allinone download for linux?



No, i've installed BIRT with:
Eclipse > Help > Install New Software > http://download.eclipse.org/releases/galileo >
Business Intelligence, Reporting and Charting >
BIRT Framework
Eclipse BIRT Documentation
...

But I've just downloaded [ http://download.birt-exchange.com/products/birt26/helios/SR1 /eclipse-reporting-helios-SR1-linux-gtk-x86_64.tar.gz] (maybe it's what you name "AllInOne") and it works!

I'd like to know why it doesn't work with Eclipse Galileo that comes with Ubuntu repositories but now I can try BIRT.

Thanks
Re: Preview errors [SOLVED] [message #643960 is a reply to message #643951] Wed, 08 December 2010 20:05 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Yes that is the allinone. Can you open a bug for the install method you
used?

Jason

On 12/8/2010 2:31 PM, Luis wrote:
> Quote:
>> Are you using the allinone download for linux?
>
>
> No, i've installed BIRT with:
> Eclipse > Help > Install New Software >
> http://download.eclipse.org/releases/galileo >
> Business Intelligence, Reporting and Charting >
> BIRT Framework
> Eclipse BIRT Documentation
> ...
>
> But I've just downloaded
> [ http://download.birt-exchange.com/products/birt26/helios/SR1 /eclipse-reporting-helios-SR1-linux-gtk-x86_64.tar.gz]
> (maybe it's what you name "AllInOne") and it works!
>
> I'd like to know why it doesn't work with Eclipse Galileo that comes
> with Ubuntu repositories but now I can try BIRT.
>
> Thanks
Re: Preview errors [SOLVED] [message #663039 is a reply to message #643960] Sat, 02 April 2011 16:24 Go to previous messageGo to next message
Jani  is currently offline Jani Friend
Messages: 14
Registered: April 2011
Junior Member
The original poster has set the issue to solved, but I think only because of the workaround.

I do have exactly the same setup (except 32-bit system) and problem.

So can you confirm the problem is that preview should work when in Eclipse BIRT 2.5 Reporting SDK (and nothing else) has been installed using Eclipse's own software installation method ? Or should something else also to be installed ?

You asked original poster to open a bug for the used install method. Should the problem be opened for BIRT or for Ubuntu ? I can raise the issue.

Meanwhile I'll also try all-in-one package.
Re: Preview errors [SOLVED] [message #663144 is a reply to message #663039] Mon, 04 April 2011 04:41 Go to previous message
Jani  is currently offline Jani Friend
Messages: 14
Registered: April 2011
Junior Member
Just to confirm that downloading BIRT 2.6.2

Report Designer Full Eclipse Install for Linux

from

http://download.eclipse.org/birt/downloads/build.php?build=R -R1-2_6_2-201102191842

resolves the preview issue.
Previous Topic:Cryptic Error Message when Running Report on Oracle
Next Topic:Dynamic SVG image doesn't show transparent shapes in PDF report
Goto Forum:
  


Current Time: Sat Apr 27 03:23:47 GMT 2024

Powered by FUDForum. Page generated in 0.03026 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top