cancel
Showing results for 
Search instead for 
Did you mean: 

The type org.osgi.service.event.Event cannot be resolved. It is indirectly referenced from required

Experimenter
Experimenter

I am trying to create teamcenter plugin (Create a custom Viewer view),

example from client customization programmer's guide.

i followed all instructions, but getting following error so not able to build plugin.

 

The type org.osgi.service.event.Event cannot be resolved. It is indirectly referenced from required .class files HelloWorldViewerFactory.java /com.mycom.customviewerview/com/mycom/customviewerview/factory line 1 Java Problem

 

How to fix this error?

 check attached images for reference.

Thanks !!

 

 

3 REPLIES

Re: The type org.osgi.service.event.Event cannot be resolved. It is indirectly referenced from requi

Phenom
Phenom
Try this: Double click MANIFEST.MF in project -> Go to 'Dependencies' tab -> Add the plugin 'org.osgi.service.event.Event' to "Imported Packages"

Re: The type org.osgi.service.event.Event cannot be resolved. It is indirectly referenced from requi

Phenom
Phenom
I mean add Package "'org.osgi.service.event" to "Imported Packages"

Re: The type org.osgi.service.event.Event cannot be resolved. It is indirectly referenced from requi

Experimenter
Experimenter

Thanks !! It worked.