Web app root system property already set to different value: 'webapp.root'

<context-param>
    <param-name>webAppRootKey</param-name>
    <param-value>{project name and version}</param-value>
   </context-param>

Add this to Web.xml and this will fix the issue. Replace the value with project name and version number.

Happy Coding.

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