java工程融合spring和hibernate框架之后,打成jar包问题

173773671 发布于 2016/05/10 14:54
阅读 374
收藏 0

java工程融合spring和hibernate框架之后,通过eclipse打成jar包之后,

在linux系统中执行该jar,application-context 文件里面sessionFactory 配置的packagesToScan

无法加载下面的bean


报错如下:WARN PathMatchingResourcePatternResolver: Cannot search for matching files underneath URL [rsrc:com/loader/model/] because it does not correspond to a directory in the file system
java.io.FileNotFoundException: URL [rsrc:com/loader/model/] cannot be resolved to absolute file path because it does not reside in the file system: rsrc:com/loader/model/


加载中
0
黄柳淞
黄柳淞

请问怎么解决的这个

返回顶部
顶部