'findstr' is not recognized as an internal or external command,

前端 未结 9 848
半阙折子戏
半阙折子戏 2020-12-05 02:01

I got the following error while starting JBoss from a command line prompt today:

\'findstr\' is not recognized as an internal or external command
         


        
9条回答
  •  Happy的楠姐
    2020-12-05 02:57

    Check to see if you %SystemRoot% is evaluating (type set path into a command prompt, you should not see %SystemRoot%, but instead that actual path). If your path variable's (user, or systems) first entry begins with an %(an environment variable) this can cause an issue.

    To resolve this, simply swap this first entry with anything else in your path that does not lead with an environment variable.

提交回复
热议问题