bobc02 Posted September 23, 2019 Share Posted September 23, 2019 I am using Studio v6.9.0.Following the demo server example at https://community.jaspersoft.com/blog/tibco-jaspersoft-online-demo-server, when I do Test Connection I get error java.lang.NoClassDefFoundError: com/jaspersoft/studio/server/protocol/restv2/ClientQueryMapperProvider.I am trying to login to the connection using U/P joeuser/joeuser - as in example.The screen shot below shows what's going on.What am I doing wrong?Thanks, Link to comment Share on other sites More sharing options...
bobc02 Posted September 23, 2019 Author Share Posted September 23, 2019 I forgot to mention, the missing ClientQueryMapperProvider.class is clearly in the com.jaspersoft.studio.server_6.9.0.final.jar.I have not yet figured out how the classpath is defined for Studio, but surely it's not including that server jar. I pasted the image showing the jar contents, but I guess Comments can't have images? Link to comment Share on other sites More sharing options...
swood_1 Posted September 23, 2019 Share Posted September 23, 2019 It is jasperserver-pro, not jasper-pro.Don't know why you are getting that exception, but there are likely to be problems with using the Community version of Jaspersoft Studio against a commercial version of JasperReports Server. You should use a commercial version of Studio.Also there is a better way to get a JasperReports Server "sandbox": https://www.jaspersoft.com/jaspersoft-live-trialSpin one of those up for 3 days. Sherman Link to comment Share on other sites More sharing options...
bobc02 Posted September 23, 2019 Author Share Posted September 23, 2019 Thanks for pointing out the jasperserver-pro mistake. I had tried both, but mistakenly posted the wrong screen shot. OK, I'll drop trying to use a demo server. Thought it would be easy. Frankly, I have 3 templates to create, and probably never any others. I was trying to find a demo template for an invoice that uses an image (e.g. logo) to test out my Spring implementation of a JR PDF generator, which works fine with a template not having an image. I'm not finding any guides out there on how to manually write a template, so I installed the community version of Studio hoping to view some templates in action.Thanks. Link to comment Share on other sites More sharing options...
swood_1 Posted September 23, 2019 Share Posted September 23, 2019 Have you looked at the JasperReports Samples? They are available as a project in Studio.New > Project... > JasperReports SamplesThe "FirstJasper" report has an image in it.Also http://jasperreports.sourceforge.net/sample.reference/images/index.html#images Link to comment Share on other sites More sharing options...
bobc02 Posted September 24, 2019 Author Share Posted September 24, 2019 Thanks Sherman, the FirstJasper provides a very good example of how to structure a template with an image. I'll use it. The sourceforge link helps me get a handle on some of the available resources. I did sign up for the trial sandbox, but the Confirm site has been down all day. I'll keep trying.Bob Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now