无法解析类型 ResourcePatternResolver

发布于 2024-10-24 09:23:05 字数 437 浏览 0 评论 0原文

我正在用red5做白板应用程序。示例代码如下

package com.free.whiteboard;

this.createSharedObject(app, "freehandSO", false); 
//Shared object for freehand drawing    
app.setAttribute("freehand" , new FreeHandDrawing(this));

,我在最后一行收到错误,它说

"The type org.springframework.core.io.support.ResourcePatternResolver 
cannot be resolved. It is indirectly referenced from   required 
.class files"..

I am doing white board application in red5. The sample code is as follows

package com.free.whiteboard;

this.createSharedObject(app, "freehandSO", false); 
//Shared object for freehand drawing    
app.setAttribute("freehand" , new FreeHandDrawing(this));

and i am getting error in the last line, it says that

"The type org.springframework.core.io.support.ResourcePatternResolver 
cannot be resolved. It is indirectly referenced from   required 
.class files"..

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

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

发布评论

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

评论(1

他是夢罘是命 2024-10-31 09:23:05

我知道它已经一个月了,但答案与 eclipse 在构建路径中找不到 spring-core-2.5.6.jar 有关。只需将该 jar 添加到您的构建路径中,您就可以开始了。注意 - 这只会影响编译 - 你不必部署 jar 本身来让你的应用程序工作,因为 Red5 已经知道如何找到该类。

I know it's a month old but the answer has to do with eclipse not finding the spring-core-2.5.6.jar in your buildpath. just add that jar to your buildpath and you should be good to go. Note - this only affects compilation - you don't have to deploy the jar itself to have your application work as Red5 already knows how to find that class.

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