无法解析类型 ResourcePatternResolver
我正在用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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道它已经一个月了,但答案与 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.