将CEP定义文件从创作工具导出到(外部)存储库 [英] Exporting CEP definition file from the authoring tool to an (external) repository

查看:111
本文介绍了将CEP定义文件从创作工具导出到(外部)存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在将CEP定义文件从创作工具导出到(外部)存储库时遇到问题.

We are having problems with the exporting of the CEP definition file from the authoring tool to an (external) repository.

在浏览器开发人员工具的响应预览中,我们收到以下错误消息:

In the response preview from the developer tools of the browser we get the following error message:

"HTTP状态500-找不到类org.apache.wink.json4j.JSONArray类型和text/html; charset = utf-8媒体类型的javax.ws.rs.ext.MessageBodyReader实现.请验证所有实体提供者已正确注册.如果当前不存在JAX-RS实体提供者,则添加自定义javax.ws.rs.ext.MessageBodyReader提供者以处理类型和媒体类型."

"HTTP Status 500 - A javax.ws.rs.ext.MessageBodyReader implementation was not found for class org.apache.wink.json4j.JSONArray type and text/html;charset=utf-8 media type. Verify that all entity providers are correctly registered. Add a custom javax.ws.rs.ext.MessageBodyReader provider to handle the type and media type if a JAX-RS entity provider does not currently exist."

我们如何确保能够导出到外部存储库?

How can we make sure we are able to export to an external repository?

推荐答案

您的问题是外部存储库不可用. 既然您没有提到,我的猜测是您正在使用默认的外部存储库,它是 http://本地主机:8080/ProtonOnWebServerAdmin/resources/definitions 但没有ProtonOnWebServerAdmin的运行实例.您必须在本地计算机上的Tomcat服务器上运行ProtonOnWebServerAdmin,它才能实际处理请求.

Your problem is that the external repository is not available. Since you didn't mention this, my guess is that you are using the default external repository which is http://localhost:8080/ProtonOnWebServerAdmin/resources/definitions but don't have a running instance of ProtonOnWebServerAdmin. You have got to have ProtonOnWebServerAdmin running on a Tomcat server on your local machine for it to actually process the request.

如果您要使用其他任何内容,请确保存储库知道如何处理请求.

If you're using anything else - make sure that repository knows how to handle the request.

这篇关于将CEP定义文件从创作工具导出到(外部)存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆