You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2012/09/18 13:48:07 UTC

[jira] [Commented] (ABDERA-281) NoClassDefFoundError in abdera-parser caused by missing axiom-api.jar

    [ https://issues.apache.org/jira/browse/ABDERA-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457758#comment-13457758 ] 

Sergey Beryozkin commented on ABDERA-281:
-----------------------------------------

Indeed, having a 1.1.2 release done would be great, may be in the next few weeks ? Cheers
                
> NoClassDefFoundError in abdera-parser caused by missing axiom-api.jar
> ---------------------------------------------------------------------
>
>                 Key: ABDERA-281
>                 URL: https://issues.apache.org/jira/browse/ABDERA-281
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 1.1.2
>            Reporter: Christian Georgi
>             Fix For: 1.2
>
>
> In an OSGi environment loading of FOMParser fails with the exception below.  Reasons is that StAXParserConfiguration is part of axiom-api-1.2.10.jar, which is missing in abdera-parser bundle.
> Can you add this jar to abdera-parser and also register it in Bundle-Classpath entry in MANIFEST.MF?
> Regards
> Christian
> java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/axiom/om/util/StAXParserConfiguration
> 	at org.apache.abdera.util.Discover.locate(Discover.java:37)
> 	at org.apache.abdera.util.Discover.locate(Discover.java:21)
> 	at org.apache.abdera.util.AbderaConfiguration.newParserInstance(AbderaConfiguration.java:298)
> 	at org.apache.abdera.Abdera.newParser(Abdera.java:215)
> 	at org.apache.abdera.Abdera.getParser(Abdera.java:150)
>         ...
> Caused by: java.lang.NoClassDefFoundError: org/apache/axiom/om/util/StAXParserConfiguration
> 	at java.lang.Class.getDeclaredConstructors0(Native Method)
> 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
> 	at java.lang.Class.getConstructor0(Class.java:2699)
> 	at java.lang.Class.getConstructor(Class.java:1657)
> 	at org.apache.abdera.util.Discover.load(Discover.java:149)
> 	at org.apache.abdera.util.Discover.locate(Discover.java:33)
> 	... 61 more
> Caused by: java.lang.ClassNotFoundException: org.apache.axiom.om.util.StAXParserConfiguration
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
> 	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> 	... 67 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira