English 中文(简体)
2.0.3 视窗7指挥线的错误
原标题:Grails 2.0.3 error starting from command line in Windows7

想像灵魂能够帮助解决这一棘手的窗口问题

我试图在窗户上操作一条铁路,无法开车。

我已下载了2.3.3条铁路,并拉走了电离层。

我收到的错误如下:

Error: Could not find or load main class 
       org.codehaus.groovy.grails.cli.support.GrailsStarter

我在寻找解决这一问题的办法(一些人已经这样做)时,没有帮助: 我发现的都是关于我的环境变量被不当设定的建议。 (例如:here)

我认为,我非常谨慎地确定我的变量。 我的配置如下:

JAVA_HOME C:javajdk7
GRAILS_HOME C:grails2.0.3  // also set it to C:grailssourcegrails-core when dlded from source
GROOVY_HOME C:groovy1.8.6
PATH %JAVA_HOME%in;%GRAILS_HOME%in;%GROOVY_HOME%in;$PATH

I ve tried things both before and after downloading groovy and setting that environment variable, and I m afraid I m quite lost at this point. Groovy starts just fine, java starts just fine, but grails is unable to start.

视窗里是否有人用最新的铁路版来处理这个问题?

最佳回答

我感到ool,不要试图这样做,而是......

铁路公司正作为Windows DOS(Windows DOS)的指挥部(cmd)。 它是NOT在窗户(水泥砖、方便和熟悉气球)上工作的。

对于在这种情况下找到你的律师的人,马克·苏雷拉阁下也在视窗上迅速尝试。 (如果对为何在监督事务司迅速工作,而不是在像习俗一样的篮子中工作有深刻见解,我将用我得出的任何结论更新这一答案!)

问题回答

我把这个错误的信息带入了监督事务司的计算结果。 引人瞩目是,我有我的德国航天学会——HOME——2.2.0,但我的太平洋建筑工程师学会被指向Grails-2.2.1in。 一旦我确定这种不匹配,错误就会消失,事情就会被打上。 建议在我们的千年发展目标中采用“一套”来看待您的环境。

我在青春期也面临同样的问题,可以通过将环境变数全球评估生命线——水环流模型确定为不定格式来解决这一问题:

export GRAILS_HOME=/c/grails/2.0.3

这确定了上述错误,但在实施“铁路运行”时产生了新的错误:

$ grails run-app
Error opening zip file or JAR manifest missing : /d/Programme/grails-2.2.4/lib/org.springsource.springloaded/springloaded-core/jars/springloaded-core-1.1.3.jar
Error occurred during initialization of VM
agent library failed to init: instrument

焦炭 found在gged路之下,因此,我很想知道它为什么会干活。 我仍然试图解决这一错误。

我希望上述解决办法能够帮助任何人。

Grails 2.3.7, Win7, Java7, msysgit:

违约后,铁路不能从ms开始。

固定格式cygpath.exe, from cygwin to msysgit/bin. 修改开端铁路

# For Cygwin, ensure paths are in UNIX form before any ispassed

替换

    if $cygwin ; then

iii

    if [ $cygwin -o $mingw ] ; then

或仅设立全球资源学会 铁路/铁路/铁路/铁路网,如不定型

$GRAILS_HOME=/c/program/grails-2.3.7

页: 1

useful link about cygpath.exe

你们的建立应当发挥有益的作用。 我将核实我的铁路安装没有腐败。

我有这个问题,我认识到,我走了这条路。 我从路上清除了这一gro,而铁路干了。





相关问题
Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Programmatically detect Windows cluster configuration?

Does anyone know how to programatically detect that a Windows server is part of a cluster? Further, is it possible to detect that the server is the active or passive node? [Edit] And detect it from ...

get file icon for Outlook appointment (.msg)

I ve read Get File Icon used by Shell and the other similar posts - and already use SHFileInfo to get the associated icon for any given extension, and that works great. However, Outlook uses ".msg" ...

Identifying idle state on a windows machine

I know about the GetLastInputInfo method but that would only give me the duration since last user input - keyboard or mouse. If a user input was last received 10 minutes ago, that wouldn t mean the ...

Terminating a thread gracefully not using TerminateThread()

My application creates a thread and that runs in the background all the time. I can only terminate the thread manually, not from within the thread callback function. At the moment I am using ...

热门标签