Jump to content

Load jar containing scriptlet in Jasper server


leonardo.ruggeri

Recommended Posts

Hello,

in Jaspersoft studio i've created a report with a scriptlet and loaded it on Jasper server. The report seem have the right jar containing the scriptlet but when i try to run it i have this error: 

 

2023-08-25T11:05:12,066 ERROR GenericExceptionMapper,http-nio-8080-exec-6:89 - Unexpected error occured. Invalid signature file digest for Manifest main attributes. java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
 

how can i do for resolve this error? jar should be signed? how?

 

thank you

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

It seems to me that something is wrong with your compiled JAR. I do not sign any custom JARs that I create - I would try to recompile it with various options - should be pretty plain/vanilla. Also, ensure you are compiling to the same version of Java that you have deployed on your server (i.e. if you are running JRS with Java 8, make sure your IDE is using Java 8 to build the JAR file. I hope this helps.

Link to comment
Share on other sites

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...