Tag: jasperserver

Jasper服务器maven存储库url?

我试图从jasper服务器获得以下依赖。 com.jaspersoft.jasperserver jasperserver-api 6.0.1 但我得到低于错误 Missing artifact com.jaspersoft.jasperserver:jasperserver-api:jar:6.0.1 这是我的POM 4.0.0 …. jasperProject http://www.jaspersoft.com com.jaspersoft.jasperserver jasperserver-api 6.0.1

使用服务器java api从jasperserver存储库中检索资源

我正在尝试使用它的java API从Jasperserver存储库中检索资源,根据jasper报告服务器终极指南 ,我应该得到一个ExecutionContext接口的实例: ExecutionContext context = JasperServerUtil.getExecutionContext(); 然后,获取RepositoryService接口的实例: RepositoryService repositoryService = …; //how?? 现在我可以使用以下代码获取文件: FileResourceData fileResourceData = repositoryService.getContentResourceData(context, “/examples/report.pdf”); 我的问题是我如何获得RepositoryService实例?

Jaspersoft Studio 6.2构建路径警告

我最近安装了Jasperserver和Jaspersoft Studio来与JasperReports合作。 创建到PostgreSQL数据库的数据库连接并从该数据库构建报告后,我在Jaspersoft Studio中收到以下警告,我无法解决。 Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment. 我发现配置没有相关的JRE系统库,所以我尝试使用与Jaspersoft Studio一起安装的JRE系统库[JavaSE-1.6],但这并没有解决问题。 我也试过使用jre.linux.gtk.x86_64.feature_1.8.0.u65和CDC-1.0 / Foundation-1.0(jre.linux.gtk.x86_64.feature_1.8.0.u65)但没有成功。 这必须是配置问题,但我无法在Web上找到资源来解决配置问题。

尝试使用jersy api抛出exception来连接jaserper服务器?

当我试图使用jersy api抛出exception时连接jaserper服务器java.lang.NoSuchMethodError:org.glassfish.hk2.utilities.AbstractActiveDescriptor 代码在这里吼叫 RestClientConfiguration configuration = new RestClientConfiguration(“//localhost:80/jasperserver”); JasperserverRestClient client = new JasperserverRestClient(configuration); //Session session = client.authenticate(“jasperadmin”, “jasperadmin”); OperationResult result = client .authenticate(“jasperadmin”, “jasperadmin”) .reportingService() .report(“/reports/samples/Cascading_multi_select_report”) .prepareForRun(ReportOutputFormat.HTML, 1) //.parameter(“Cascading_name_single_select”, “A & U Stalker Telecommunications, Inc”) .run(); InputStream report = result.getEntity(); 我得到的确切例外如下 线程“main”中的exceptionjava.lang.NoSuchMethodError:org.glassfish.hk2.utilities.AbstractActiveDescriptor。(Ljava / util / Set; Ljava / lang / Class; Ljava / lang / […]