Spring roo 应用程序在 STS 中运行良好,但当我在 Cloud Foundry 中运行相同的应用程序时出现错误

发布于 2025-01-02 04:03:06 字数 1288 浏览 1 评论 0原文

我迫切需要这方面的帮助。 我有一个应用程序,可以在 STS 中部署并运行良好。

该应用程序还在 Cloud Foundry 上部署并正常启动。 但是,当我尝试访问用户控制器中的服务时,出现以下错误...... 任何指针将受到高度赞赏...

2012-02-04 19:58:54,267 [main] DEBUG org.springframework.beans.factory.wiring.BeanConfi gurerSupport - BeanFactory 尚未在 BeanConfigurerSupport 上设置:确保此配置程序运行一个 Spring 容器。无法配置 [com.xxxx.domain.CUser] 类型的 bean。无需注射即可继续。 2012-02-04 19:58:54,942 [main] 调试 org.apache.http.impl.conn.SingleClientConnManager - 获取路由 HttpRoute[{}->http://xxxx.cloudfoundry.com:80] 的连接 2012-02-04 19:59:00,636 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec 选择:最佳匹配 2012-02-04 19:59:00,650 [main] DEBUG org.apache.http.impl.client.DefaultHttpClient - 尝试 1 执行请求 2012-02-04 19:59:00,651 [main] 调试 org.apache.http.impl.conn.DefaultClientConnection - 发送请求:POST /xxxx/cuser/create HTTP/1.1 2012-02-04 19:59:00,651 [main] 调试 org.apache.http.wire ->> “POST /xxxx/cuser/create HTTP/1.1[EOL]” 2012-02-04 19:59:00,652 [主要] 调试 org.apache.http.wire ->> “接受:/[EOL]” 2012-02-04 19:59:00,652 [主要] 调试 org.apache.http.wire ->> “内容长度:133[EOL]” 2012-02-04 19:59:00,652 [主要] 调试 org.apache.http.wire ->> “内容类型:application/json[EOL]” 2012-02-04 19:59:00,652 [主要] 调试 org.apache.http.wire ->> “主机:xxxx.cloudfoundry.com:80[EOL]”

I desperately need help on this.
I have an application and that deploys and runs fine in STS.

The application also deploys and starts up fine on cloud foundry.
However, when I try to access the a service in the user controller, I get the error given below.....
Any pointers will be highly appreciated...

2012-02-04 19:58:54,267 [main] DEBUG org.springframework.beans.factory.wiring.BeanConfi gurerSupport - BeanFactory has not been set on BeanConfigurerSupport: Make sure this configurer runs in a Spring container. Unable to configure bean of type [com.xxxx.domain.CUser]. Proceeding without injection.
2012-02-04 19:58:54,942 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager - Get connection for route HttpRoute[{}->http://xxxx.cloudfoundry.com:80]
2012-02-04 19:59:00,636 [main] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: best-match
2012-02-04 19:59:00,650 [main] DEBUG org.apache.http.impl.client.DefaultHttpClient - Attempt 1 to execute request
2012-02-04 19:59:00,651 [main] DEBUG org.apache.http.impl.conn.DefaultClientConnection - Sending request: POST /xxxx/cuser/create HTTP/1.1
2012-02-04 19:59:00,651 [main] DEBUG org.apache.http.wire - >> "POST /xxxx/cuser/create HTTP/1.1[EOL]"
2012-02-04 19:59:00,652 [main] DEBUG org.apache.http.wire - >> "Accept: /[EOL]"
2012-02-04 19:59:00,652 [main] DEBUG org.apache.http.wire - >> "Content-Length: 133[EOL]"
2012-02-04 19:59:00,652 [main] DEBUG org.apache.http.wire - >> "Content-Type: application/json[EOL]"
2012-02-04 19:59:00,652 [main] DEBUG org.apache.http.wire - >> "Host: xxxx.cloudfoundry.com:80[EOL]"

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

恋你朝朝暮暮 2025-01-09 04:03:06

请查看以下有关 roo + cloud foundry 的链接:

http://www.roo+cloudfoundry。 springsource.org/roo/guide?w=base-cloud-foundry
http://blog.springsource。 com/2011/04/12/roo-cloud-foundry-productivity-in-the-cloud/

您有什么方法可以与我们分享您的源代码或 war 文件吗?

另外,为了获得更详细的支持,最好在 support.cloudfoundry.com 上发布此类问题

Please review the following links regarding roo + cloud foundry :

http://www.springsource.org/roo/guide?w=base-cloud-foundry
http://blog.springsource.com/2011/04/12/roo-cloud-foundry-productivity-in-the-cloud/

Is there any way you can share your source code or war file with us?

Also for more detail support it would be nice to post these type of questions on support.cloudfoundry.com

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文