Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

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

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
Solution
Solution
Accepted by topic author VNA
‎03-17-2016 02:29 PM

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

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

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

Thanks !! It worked.