Jump to content

Extremely urgent!!


Recommended Posts

By: J. Lagunilla - lagu6494

Extremely urgent!!

2003-04-16 02:43

Hi to everybody!

 

In order to localize and format some particular text fields, I use my own class, named Utils. Here is an example of how I'm using it:

 

<textField>

<reportElement x="0" y="0" width="50" height="11" forecolor="#000000"/>

<textElement textAlignment="Left"/>

<textFieldExpression>

Utils.getMessage("lblVehicle")</textFieldExpression>

</textField>

 

Well, the problem is that I get a java.lang.NoClassDefFoundError. Here is the stack trace:

 

java.lang.NoClassDefFoundError: Utils

at SessionReport.evaluate(SessionReport.java:133)

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:678)

at dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:614)

at dori.jasper.engine.fill.JRFillTextField.evaluateText(JRFillTextField.java:342)

at dori.jasper.engine.fill.JRFillTextField.evaluate(JRFillTextField.java:329)

at dori.jasper.engine.fill.JRFillBand.evaluate(JRFillBand.java:360)

at dori.jasper.engine.fill.JRVerticalFiller.fillTitle(JRVerticalFiller.java:305)

at dori.jasper.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:245)

at dori.jasper.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:160)

at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:463)

at dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:143)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:348)

 

Any workaround for this? It's really urgent for me...

 

Regards.

 

Jordi.

 

 

 

 

By: rakhesh - rakheshg

RE: Extremely urgent!!

2003-10-05 05:27

Hi Jordi,

 

You haven't specified which Server u r using as well as the path of ur class.

 

regards

Rakhesh

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...