Did you install the cxf feature?
You can still use the the broker namespace in http://pastie.org/1761075
. the Eclipse error can be ignore, as the Spring can load the schema
from the activemq-core jar.
If you want eclipse happy you should change to use
http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd
instead of
http://activemq.apache.org/schema/core/activemq-core.xsd
Willem
On 4/7/11 12:21 AM, dead_devil_66 wrote:
Thanks for answering. :)
Seems that the namespace issues are a recurring problem...
Now, as far as i can see, i have no errors declared in the xml files. *But*,
after installing in Fuse ESB, i got the same error message. This time, i
checked the log file.
This is the content:
http://pastie.org/1763870
These lines got up my attention:
"16:50:55,492 | ERROR | ExtenderThread-7 | ContextLoaderListener
| 72 - org.springframework.osgi.extender - 1.2.0 | Application context
refresh failed (OsgiBundleXmlApplicationContext(bundle=null,
config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from URL location
[classpath:*META-INF/cxf/cxf.xml*]
Offending resource: URL
[bundleentry://260.fwk2272087/META-INF/spring/camel-cxf.xml]; nested
exception is org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from OSGi
resource[classpath:META-INF/cxf/cxf.xml|bnd.id=260|bnd.sym=null]; nested
exception is java.io.FileNotFoundException: OSGi
resource[classpath:META-INF/cxf/cxf.xml|bnd.id=260|bnd.sym=null] cannot be
resolved to URL because it does not exist"
After reading this, i thought that by moving camel-cxf.xml to META-INF/cxf,
that i could solve this issue. Wrong! After doing that, this is the error i
got:
http://pastie.org/1763972
soooooo, what is happening now...?
--
View this message in context:
http://camel.465427.n5.nabble.com/error-in-schema-tp4285364p4286673.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com