2017-08-03 95 views
-1

我面對異常下面在Talend 6.3.0javax.ws.rs.RedirectionException:HTTP 302在Talend找到6.3.0

Exception in component tRESTClient_1 
javax.ws.rs.RedirectionException: HTTP 302 Found 
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 
    at java.lang.reflect.Constructor.newInstance(Unknown Source) 
    at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:504) 
    at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:897) 
    at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:865) 
    at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:428) 
    at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:611) 
    at test_project.test_rest_0_1.Test_REST.tRESTClient_1Process(Test_REST.java:714) 
    at test_project.test_rest_0_1.Test_REST.runJobInTOS(Test_REST.java:1111) 
    at test_project.test_rest_0_1.Test_REST.main(Test_REST.java:968) 

請讓我知道的解決方案來解決這個問題

+0

你能分享一下Test_REST.runJobInToS()嗎?沒有代碼示例的 ,我唯一能說的是HTTP 302意味着http重定向。閱讀更多[這裏](https://en.wikipedia.org/wiki/HTTP_302) – Tancho

回答

0

HTTP 302是重定向,可能是因爲證書問題。 首先,您可以嘗試添加/或從URL的結束點刪除。