I'm using this snippet to load image in my report :
new java.io.StringBufferInputStream(new org.w3c.tools.codec.Base64Decoder([Variable]).processString())
This is working on JasperStudio Professional. When i switch to Community Edition 6.5.1 (removed the other edition due to near expiration), this portion doesn't work and says that
org.w3c.tools.codec.Base64Decoder cannot be resolved to a type.
How can i resolve this error?
You are probably getting error because you do not have in your classpath any *.jar containing org.w3c.tools. It used to be a part of jasperreports.jar until version 6.4.3.
Jaspersoft Studio CE 6.5.1 is using jasperreports in version 6.5.1.
There are few alternative solutions you can use to fix this:
1. Download library that contains org.w3c.tools.
2. Replace snipplet with one using only classes available in jasperreports 6.4.3+ and build-in java:
3. Download and use Jaspersoft Studio CE 6.4.0 or earlier