看到相當多一些神祕的錯誤消息,我意識到他們可能是後由於在座虛假的URI:XML架構位置最佳實踐
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:cxf="http://activemq.apache.org/camel/schema/cxfEndpoint"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
http://activemq.apache.org/camel/schema/cxfEndpoint
http://activemq.apache.org/camel/schema/cxf/cxfEndpoint.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
">
它是很好的做法,參考網上的模式?
從上面,例如:
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
工作得很好,這是所有可愛和幸福,當你有沒有上網的問題,當springframework.org達等,但隨後,從以上,這裏還有:
http://activemq.apache.org/camel/schema/cxf/cxfEndpoint.xsd
這給:
"Oops! This link appears to be broken"
哎呀的確如此。
在項目中引用模式的URI的最佳做法是什麼?
獎金問題:Eclipse如何不實時抱怨斷鏈? (IntelliJ IDEA的做對!?)
這些URI是指模式是SPOF嗎? *(單點故障)* – Gugussee 2011-01-25 17:51:38