[Resolved] - Error: cannot be resolved to a type

0

Gentlemen,

I'm using the Jaspersoft Studio version 6.0.4 and I'm migrating my iReport reports. I have a report that uses a class that is out of my workspace. The expression as shown below:

msg("   Recebi da {0} a importância de R$ {1} ( {2} ) referentes as férias, confome especificações acima mencionadas.", $F{matrizrazaosocial}, new DecimalFormat("#,###,##0.00").format($V{TOTAL_LIQUIDO_RETORNO}.doubleValue()), controller.gerais.GnsCtrGrs1a.valorPorExtenso($V{TOTAL_LIQUIDO_RETORNO}.doubleValue(), new Integer("0")))

Added in Properties for MyReports => Java Build Path => Source the Link Source, but without success.

 

 

Any help is welcome!

 

Olavo Jr.

olavo-brito's picture
Joined: Oct 6 2010 - 2:00pm
Last seen: 1 year 6 days ago

3 Answers:

2

Gentlemen,

It was necessary to add to the Java Build Path => Libraries src paths and the bin as the image below. Following their inclusion compilation took place without any more mistakes.


Olavo Jr.

olavo-brito's picture
Joined: Oct 6 2010 - 2:00pm
Last seen: 1 year 6 days ago
-1

I don't think it's a classpath problem because you're not getting class not found error. Are you sure the data types of the numbers are all correct?

hozawa's picture
52372
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 6 days ago
0

Hello Hozawa,

I see no problems as this expression compiles and usually works on iReport version 5.6.0.

Olavo Jr.

olavo-brito's picture
Joined: Oct 6 2010 - 2:00pm
Last seen: 1 year 6 days ago
Feedback