开发者

The type ResourcePatternResolver cannot be resolved

开发者 https://www.devze.com 2023-02-17 21:21 出处:网络
I am doing white board application in red5. The sample code is as follows package com.free.whiteboard;

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"..


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号