I\'ve been working with a co-worker on a problem I have been experiencing on a new project I just joined. Long story short, maven isn\'t building my .war file correctly. W
This error also occurs, if you have variable named as javapath. Try to delete it, if you've already specified e.g. like JAVA_HOME -> "C:\Program Files\Java\jdk1.8.0_171"
and then in Path -> "%JAVA_HOME%\bin"