Fairouz,

I'd like to move this discussion to the users mailing list since you have
usage concerns.

I'm not exactly an expert, but I have successfully deployed iPOJO
components in an OSGi environment without those errors.  I'm not sure if
you're using java annotations or XML, but I prefer annotations.

"Cannot be resolved to a type" sounds like a compile-time error.  How are
you building your project?  With Apache Maven?  I wonder if you've defined
the necessary dependencies.

Would you please post more details, such as your source code and project
setup (pom.xml if using Maven)?

Don't give up!  iPOJO has some powerful capabilities worthy of an OSGi
developer's time :)

~ Reuben

On Thursday, March 15, 2012, Fairouz Fakhfakh <[email protected]>
wrote:
> Hello,
> I would like to createdynamically.
> I tried to follow this link:
> http://felix.apache.org/site/how-to-use-ipojo-factories.html
> but I have problems such: "ComponentInstance cannot be resolved to a type"
> and "The method put(String, String) is undefined for the type Properties"
> So, it is possible to give me an example of java class or bundle creating
> component instance dynamically with IPOJO?

Reply via email to