It could be that the Xerces that Eclipse is using (but your command line is
not) is out-of-date:
http://www.jroller.com/gmazza/entry/abstractmethoderror_on_org_apache_xerces

Glen


nmt999 wrote:
> 
> When I try to run my application that uses CXF in eclipse IDE it throws
> the following exception
> 
> Exception in thread "main" java.lang.AbstractMethodError:
> org.apache.xerces.dom.DeferredElementNSImpl.getTextContent()Ljava/lang/String;
>       at
> org.apache.cxf.bus.extension.ExtensionFragmentParser.deserialiseNamespaces(ExtensionFragmentParser.java:89)
>       at
> org.apache.cxf.bus.extension.ExtensionFragmentParser.deserialiseExtensions(ExtensionFragmentParser.java:78)
>       at
> org.apache.cxf.bus.extension.ExtensionFragmentParser.getExtensions(ExtensionFragmentParser.java:60)
>       at
> org.apache.cxf.bus.extension.ExtensionManagerImpl.loadFragment(ExtensionManagerImpl.java:120)
>       at
> org.apache.cxf.bus.extension.ExtensionManagerImpl.load(ExtensionManagerImpl.java:114)
>       at
> org.apache.cxf.bus.extension.ExtensionManagerImpl.<init>(ExtensionManagerImpl.java:83)
>       at
> org.apache.cxf.bus.extension.ExtensionManagerImpl.<init>(ExtensionManagerImpl.java:57)
>       at
> org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:91)
>       at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:41)
>       at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:37)
>       at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:33)
>       at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
> 
> however when I try to run it at command line it works fine. I'm not sure
> if I am missing anything when I'm running it in IDE. 
> 

-- 
View this message in context: 
http://www.nabble.com/exception-when-running-appl-in-eclipse-ide-tp23542262p23544331.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to