Problem in the most simple task #993

CLOSED
Submitted 3 months ago

Hi again, I just follow the steps (as before) in the "3. Exercise: Creating and using a first plug-in". Just follow the wizard and create an extension to the Eclipse IDE View contribution using 4.x API templates. Unfortunately, when i was select Run As → Eclipse Application the console shows errors. !ENTRY org.eclipse.core.runtime 4 0 2022-06-29 17:12:41.759 !MESSAGE Invalid input url:platform:/plugin/com.test/icons/Sample.png java.io.IOException: Unable to resolve plug-in "com.test". !ENTRY org.eclipse.jface 4 0 2022-06-29 17:12:42.088 !MESSAGE Unable to resolve plug-in "com.test". !MESSAGE Invalid input url:platform:/plugin/com.test/icons/Sample.png !ENTRY org.eclipse.e4.ui.workbench 4 0 2022-06-29 17:12:42.104 !MESSAGE Unable to retrieve the bundle from the URI: bundleclass://com.test/com.test.parts.SampleView It’s clear that the workbench try unsuccesfully to find com.test plugin. This plugin i created it before and is already deleted. I also go to the Workspace/.metadata/.plugins/org.eclipse.e4.workbench and delete the file workbench.xmi but it still gives me the same errors. Could you please help me to resolve this? Thanks in advance! Best, NK

Comments

  3 months ago

Hello NK,

Try setting the "Clean" flag in the launch configuration on the Main tab.

If that does not work, which installation are you using? I justed tested this and it worked fine for me. You can get your installation details via Ctrl+3 (Cmd +3 on Mac) and selecting Copy Build Information. That will copy your Build ID into the clipboard and you can copy it here.

Thanks!

  3 months ago

Hi, It works perfect. Clean flag was the solution. Thanks!!!

  3 months ago

Awesome. Thanks for the feedback.

Please login to write a comment.