When I pull in Apache Aries spifly on one of my bundles I get a weird
error in karaf.log:
 java.lang.RuntimeException: No Common 
Superclass:no/priv/bang/oldalbum/services/bean/AlbumEntry java/sql/ResultSet

Here's the error:
 
https://gist.github.com/steinarb/4fc4b86c49cbdb151d8b9e626366ff07#file-karaf-log-L790

There is nothing in my code that tries to unify AlbumEntry or ResultSet.

But there is a method that unpacks a row in a ResultSet into an albumentry:
 
https://github.com/steinarb/oldalbum/blob/master/oldalbum.backend/src/main/java/no/priv/bang/oldalbum/backend/OldAlbumServiceProvider.java#L819

Is that method the cause of the misunderstanding?

Is there a way to tell spifly not to look at any classes in my bundle?

If not, is there a way to make spifly disregard these particular
classes? 

What I'm trying to do is to load SPI plugins from other bundles
(TwelveMonkeys image IO plugins) so that they become available to my
bundle's code.

Thanks!


- Steinar

Reply via email to