配置使用dubbo时,xml报错“cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element” 解决方案: 在线下载dubbo.xsd文件,放于某个文件夹. 在eclipse做如下配置: Window—>preference—>XML—>XMLcatalog—>add,添加后右键校验XML文件即可…
今天从svn导入项目的时候,一个xml文件里面报错:‘cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element   'mvc:annotation-driven'.’ 这时候,只要在xml文件xsi:schemaLocation这个下面加上:http://www.springframework.org/schema/tx http://www.sprin…
在配置dubbo服务的过程中,经常会遇到虽然程序能够跑起来,但是配置文件一堆红叉,虽然不影响功能,但是确实很让人恶心. 报错信息如下: 解决方案: 下载一个dubbo.xsd文件(就在dubbo.jar里面)windows->preferrence->xml->xmlcatalogadd->catalog entry ->file system 选择刚刚下载的文件路径,修改key值 保存后,在xml文件右键validate,问题就解决了 参考文章:https://blog.c…
1.今天重装了一下MyEclipse7.5,打开原来的Flex项目,又报了以下两个错误,之前解决过,但不想又出现,于是把它的解决方法贴出来,做个备忘! 错误信息为 错误信息 写道 cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'flex:message-broker'. cvc-complex-type.2.4.c: The matching…
背景:在eclipse项目中,经常会遇到xml文件提示找不到.xsd文件的情况.很有必要弄清xsd文件的加载过程! 1 解决过程 dubbo-demo-provider导入eclipse后dubbox-demo-provider.xml报错详情: Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be…
添加 <!-- 定义请求处理映射HandlerMapping --> <bean id = "handlerMapping" class = "org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> <!--指定请求和controller对应的关系 --> <property name = "mappings" ref = &qu…
为了提高scp的传输速度指定了scp的加密算法为arcfour $ scp -c arcfour localFile userName@remoteIP:remoteFile 得到报错unknown cipher type $ ssh -c userName@remoteIP 得到报错no matching cipher found 解决办法:找到/etc/ssh/sshd_config,在文件最后加入一行 Ciphers 3des-cbc,blowfish-cbc,cast128-cbc,ar…
从旧的ADT迁移的新的ADT时, android 程序中res/values-v14/styles.xml报错: error: Error retrieving parent for item: No resource found that matches the given name :Theme.AppCompat.Light.DarkActionBar 解决办法:修改项目下的project-properties文件, 把下面这一行加入,指向新导入的support库(需要先导入这个库) an…
新建maven工程时,pom.xml报错:第一行报如下错误:multiple annotations found at this line后添加org.eclipse.m2e相关的plugin配置后,错误消失,完整pom.xml如下: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schem…
eclipse中创建Maven项目时 pom.xml报错:com.thoughtworks.xstream.io.HierarchicalStreamDriver 解决方案1.在pom文件中加入maven-war-plugin <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId>…