abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Koppelt (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ABDERA-281) NoClassDefFoundError in abdera-parser caused by missing axiom-api.jar
Date Fri, 17 Jun 2011 19:51:47 GMT

     [ https://issues.apache.org/jira/browse/ABDERA-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christine Koppelt resolved ABDERA-281.
--------------------------------------

    Resolution: Fixed

fixed by dbeaulieu http://svn.apache.org/viewvc?view=revision&revision=1129903

> 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
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message