cannot be resolved to a Type Jaspersoft Studio
<p>Using jaspersoft Studio 6.1.1</p>

<p>What i'm trying to achieve is to transform the numbers i get to the Roman format, and for that i added a .jar that i created to do the job, the problem is, when i'm trying to use the functions in my .jar, i get the errors below:</p>

<pre><code>    net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. RomanNumeral.roman cannot be resolved to a type
                value = new RomanNumeral.roman(1); //$JR_EXPR_ID=8$
                            &lt;----------------&gt;
2. RomanNumeral.roman cannot be resolved to a type
                value = new RomanNumeral.roman(1); //$JR_EXPR_ID=8$
                            &lt;----------------&gt;
3. RomanNumeral.roman cannot be resolved to a type
                value = new RomanNumeral.roman(1); //$JR_EXPR_ID=8$
                            &lt;----------------&gt;
3 errors
</code></pre>

<p>RomanNumeral is the name is the .jar and the class.</p>

<p>I looked everywhere for a similar error and that didn't help</p>

<p>any idea why this happens?</p>