1

I am trying to deploy a war file in weblogic. I am getting the following error message:

 java.net.URISyntaxException: Illegal character in path [1] at index 69:
 https://xxxxxxxxxxx.test-secure-xxxxxxx-processing.com/xxxxxx/CNP_2_1

The character in the question is _ (underscore). Is there any way to solve it?

The URL has been defined in the beans xml file.

borrrden
  • 33,256
  • 8
  • 74
  • 109
Nikhil Joshi
  • 97
  • 1
  • 6

2 Answers2

0

There's an illegal character at index 69.

see here

Community
  • 1
  • 1
PSR
  • 39,804
  • 41
  • 111
  • 151
0

Try like this

Please use encode utils in order to get ridoff special symbols in URL

String url = URLEncoder.encode("your url here","UTF-8"));

Have a look here also.

Community
  • 1
  • 1
Suresh Atta
  • 120,458
  • 37
  • 198
  • 307