Error in "Hello World" with Scriptlets.

I made the code used in the channel scriptlets demo video on TIBCO's YouTube channel. When doing the same code of the video happens an error. With the following message:

"net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. can not be resolved to a type "

they could try to give me a solution or tell me good materials to start with this technology to generate my reports.

henrique.santos1988's picture
Joined: Jan 9 2018 - 8:26am
Last seen: 2 years 5 months ago

3 Answers:

Supose you are using in a place that need some type and don't give it.

Put the class, or the excrept that you use in the report unit, and the part of the own report unit.


mlopez_1's picture
Joined: Oct 21 2013 - 8:08am
Last seen: 1 month 4 weeks ago
hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago

I had the same error and when i restarted my Jaspersoft Studio, everything worked.

arnaudsimon091's picture
Joined: Nov 26 2018 - 12:25pm
Last seen: 1 month 5 days ago