2

grails 项目,在 SpringSource Tool Suite 2.5.1.RELEASE 工作正常,在 SpringSource Tool Suite 2.6.0 RELEASE 出现问题

错误消息:正在运行 Grails 应用程序.. 2011-03-29 10:29:45,140 [main] 错误 http11.Http11Protocol - 初始化端点 java.net.SocketException 时出错:无法识别的 Windows 套接字错误:10106:创建

4

1 回答 1

2

这可能是您正在使用的 Java 可执行文件的问题。看到这个线程:

http://forum.springsource.org/showthread.php?t=106504&highlight=Unrecognized+Windows+Sockets+error

发帖人通过在 buildConfig.groovy 文件中添加以下行来解决该问题:

grails.server.port.http=9080

如果这对您不起作用,我建议您在 STS 论坛上跟进:

http://forum.springsource.org/forumdisplay.php?f=32

(您甚至可以发布到上面的线程)

于 2011-03-31T15:39:50.307 回答