GRAILS_HOME
Grails ディストリビューション zip を解凍したフォルダーを指す環境変数を追加し%GRAILS_HOME%\bin
、パスに追加しました。しかし、新しいコマンド プロンプトを開いた後も、「grails」コマンドはまだ見つかりません。なぜこれが起こっているのか、誰にも手がかりがありますか?
Windows 7 で Grails 2.2 を実行しています。
GRAILS_HOME
Grails ディストリビューション zip を解凍したフォルダーを指す環境変数を追加し%GRAILS_HOME%\bin
、パスに追加しました。しかし、新しいコマンド プロンプトを開いた後も、「grails」コマンドはまだ見つかりません。なぜこれが起こっているのか、誰にも手がかりがありますか?
Windows 7 で Grails 2.2 を実行しています。
grails インストールの bin フォルダーを確認することをお勧めします。grails.bat ファイルが見つからない可能性があります。今日、この問題が発生し、zip ファイルを再度ダウンロードして解決しました。
[STS-2530] ワークスペース パスにスペースがある場合に Grails アプリをデプロイする際の問題が発生している可能性があります。Jira は課題を解決済みとして表示しますが、ワークスペース パスにスペースが含まれていないことを確認しても問題ありません。
Do the following.
Go to your command prompt, execute the Path command. If everything has been set right your paths should show up as complete paths starting with C:... If the paths show up with the % sign that means your paths need to be set correctly. I did noticed that in your example you have used the forward slash - I am assuming that is a typo, because that will be a problem.
Another way to trouble shoot the issue is CD to the location C:\Grails\bin, execute the command grails.bat, if it executes you are in a good place that means you have to tweak your paths - following this path might give you a clue about other issues....
そこにJAVA_HOMEを作成しましたか?