【问题标题】:WSO2 CEP : java.lang.ArrayIndexOutOfBoundsException occurs on running sampleWSO2 CEP:运行样本时发生 java.lang.ArrayIndexOutOfBoundsException
【发布时间】:2016-02-27 10:47:19
【问题描述】:

我在遵循 WSO2 CEP 文档的快速入门指南时遇到了异常。控制台输出是

c:\wso2cep-4.0.0\samples\producers\http>ant -Durl=http://localhost:9763/endpoint
s/httpReceiver -Dsn=0001
Buildfile: c:\wso2cep-4.0.0\samples\producers\http\build.xml

init:

compile:
[javac] c:\wso2cep-4.0.0\samples\producers\http\build.xml:71: warning: 'incl
udeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds
 [copy] Copying 1 file to c:\wso2cep-4.0.0\samples\producers\http\temp\class
es

run:
 [echo]  Configure -Durl=xxxx and ( -DfilePath=xxxx or -Dsn='sample number')
optionally use -Dusername=xxxx -Dpassword=xxxx
 [java] [main] INFO  org.wso2.carbon.sample.http.Http  - Starting WSO2 Http
Client
 [java] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:
 4
 [java]     at org.wso2.carbon.sample.http.Http.main(Unknown Source)
 [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 0 seconds

This 可能是重复的,但我显然已经正确输入了所有参数。请帮忙。

【问题讨论】:

    标签: wso2 indexoutofboundsexception wso2cep


    【解决方案1】:

    这是由于与 Windows 环境集成时出现的 ant 问题。为了解决这个问题,您可以在 build.xml 文件中进行以下更改

     <property name="filePath" value="&quot;&quot;"/>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多