tianchiing / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

OSGI. Importing fr.opensagres.xdocreport.document.images.IImageProvider #472

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
fr.opensagres.xdocreport.template.formatter.AbstractFieldsMetadataClassSerialize
r

try
{
    IIMAGEPROVIDER_CLASS = Class.forName( "fr.opensagres.xdocreport.document.images.IImageProvider" );
}
catch ( ClassNotFoundException e )
{
     e.printStackTrace();
}

This creates a problem(java.lang.ClassNotFoundException) in osgi-environment. 
Must be used the directive DynamicImport-Package, or create a class using 
'new'.  

Original issue reported on code.google.com by Evgeny.M...@gmail.com on 14 Apr 2015 at 8:01

GoogleCodeExporter commented 8 years ago
Please create your issue at https://github.com/opensagres/xdocreport/issues

Original comment by angelo.z...@gmail.com on 14 Apr 2015 at 8:41