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
  • 32,952
  • 8
  • 73
  • 109
Nikhil Joshi
  • 87
  • 1
  • 6

2 Answers2

0

There's an illegal character at index 69.

see here

Community
  • 1
  • 1
PSR
  • 38,073
  • 36
  • 106
  • 149
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
  • 118,038
  • 37
  • 189
  • 297