0

GRAILS_HOMEGrails ディストリビューション zip を解凍したフォルダーを指す環境変数を追加し%GRAILS_HOME%\bin、パスに追加しました。しかし、新しいコマンド プロンプトを開いた後も、「grails」コマンドはまだ見つかりません。なぜこれが起こっているのか、誰にも手がかりがありますか?

Windows 7 で Grails 2.2 を実行しています。

4

5 に答える 5

0

grails インストールの bin フォルダーを確認することをお勧めします。grails.bat ファイルが見つからない可能性があります。今日、この問題が発生し、zip ファイルを再度ダウンロードして解決しました。

于 2013-02-17T20:07:07.333 に答える
0

[STS-2530] ワークスペース パスにスペースがある場合に Grails アプリをデプロイする際の問題が発生している可能性があります。Jira は課題を解決済みとして表示しますが、ワークスペース パスにスペースが含まれていないことを確認しても問題ありません。

于 2013-01-11T23:05:41.367 に答える
0

Do the following.

  1. 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.

  2. 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....

于 2013-01-12T03:48:25.163 に答える
0

そこにJAVA_HOMEを作成しましたか?

于 2013-01-11T09:12:09.000 に答える