Illegal character in path at index 18 - faces-config

Ever Wondered why your Application wont start because of this error. The Reason is Simple The Deployment path of the Faces-Config contains space mostly or some illegal character.

Eg : Say your workspace is ina path like below

file:/C:/Documents and Settings/ 

The error gonna be like this

java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/


Move it to a location without space in the URI Path.

Comments

Popular posts from this blog

'jasypt.encryptor.password' or one of ['jasypt.encryptor.privateKeyString', 'jasypt.encryptor.privateKeyLocation'] must be provided for Password-based or Asymmetric encryption

Field or property 'jobParameters' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext' - Spring Batch

java.security.spec.InvalidKeySpecException: Only RSAPrivate(Crt)KeySpec and PKCS8EncodedKeySpec supported for RSA private keys