java.net.MalformedURLException: unknown protocol: classpath
来源:互联网 发布:java分页代码 编辑:程序博客网 时间:2024/05/07 02:46
开始呢, applicationContext.xml, 里面报错,改成了classpath:/org/springframework/beans/factory/xml/spring-beans-2.5.xsd,不报错了,可是后来又报错了,java.net.MalformedURLException: unknown protocol: classpath,后来查了下,
ou shouldn't be messing around with other locations and use the defaults. For Spring Social Facebook you should use http://www.springframework.org/schema/social/spring-social-facebook-1.1.xsd
or preferably the version less one http://www.springframework.org/schema/social/spring-social-facebook.xsd
.
Spring will always first load the xsd from the jars from the classpath. Spring ships with a custom EntityResolver
, the PluggableSchemaResolver
which uses the different spring.schemas
files in the META-INF
directory of Spring jar files.
The only reasons to get an error like you get (and why you try to work around it) is
- You haven't included the spring-social-facebook needed dependencies
- You have included the wrong spring-social-facebook dependencies
- You are using incompatible Spring and Spring Social versions.
- java.net.MalformedURLException: unknown protocol: classpath
- java.net.MalformedURLException: unknown protocol: ej解决方法
- java.net.MalformedURLException: unknown protocol: c
- java.net.MalformedURLException: unknown protocol: g ; jdom2 ;
- 解决java.net.MalformedURLException: unknown protocol问题
- java.net.MalformedURLException: unknown protocol: f
- java.net.MalformedURLException: unknown protocol问题
- 解析XML出现java.net.MalformedURLException: unknown protocol: e
- Exception in thread "main" java.net.MalformedURLException: unknown protocol: c
- 解决java.net.MalformedURLException: unknown protocol: c问题
- jsp 页面静态化 java.net.MalformedURLException: no protocol: index.jsp和java.net.MalformedURLException: unknown protocol: d
- java.net.MalformedURLException: no protocol
- java.net.MalformedURLException: no protocol
- java.net.MalformedURLException: no protocol
- java解析xml时出现 java.net.MalformedURLException: unknown protocol:异常
- nios ide 编译出错java.net.MalformedURLException unknown protocol e解决方法
- 启动Tomcat 报错 :sjava.net.MalformedURLException unknown protocol: d
- java.net.MalformedURLException: no protocol: 解决方式
- ARM汇编与C混合编程
- eclipse 安装python后pydev不出现
- 需求捕获要具有计划性和科学性
- SVN的认识
- jquery.nivo.slider轮播插件使用
- java.net.MalformedURLException: unknown protocol: classpath
- 灰度共生矩阵的实现
- Android 笔记之横竖屏
- 如何查看某个端口被谁占用
- 四、DC/OS local-universe安装配置
- 438. Find All Anagrams in a String
- UML之类图
- POJ-2387 Til the Cows Come Home(Dijsktra算法求最短路径)
- C语言中有关大小端的介绍(百度笔试题)