Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Class not found
Class not found [message #266965] Sat, 14 August 2004 09:43
Eclipse UserFriend
Originally posted by: cf.knutsen.web.de

Hello.

I am quite new to the development of plugins and I am afraid that the
following problem results out of a simple newbie-failure. ;-)
The project I am working on is a tutorial through which I hope to learn
something about how to start.

Okay: When I try to run my plugin, I get the following error message,
when I click on a menu-point that I added to a context-menu:

Could not create action delegate for id:
org.eclipse.contribution.junit.runtest.action
Reason: Plug-in org.eclipse.contribution.junit was unable to load class
org.eclipse.contribution.junit.Run.

Obviously he could not find the Class "Run", but it is definitely there
where it has to be: In Run.java in the default package inside the
src-directory of my project. My plugin.xml looks as follows:

<?xml version="1.0" encoding="UTF-8"?>
<plugin
id="org.eclipse.contribution.junit"
name="JUnit"
version="1.0.0"
class="org.eclipse.contribution.junit.JUnitPlugin">

<runtime>
<library name="junit.jar"/>
</runtime>
<requires>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.jdt.core"/>
</requires>

<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="org.eclipse.jdt.core.IType"
id="org.eclipse.contribution.junit.runtest">
<action
label="Run Test"
class="org.eclipse.contribution.junit.Run"
enablesFor="1"
id="org.eclipse.contribution.junit.runtest.action">
</action>
</objectContribution>
</extension>

</plugin>

I already did the "Update classpath"- and "Compute build path"- stuff,
but no effect. :-\

Can you help me?

Best regards,
Markus
Previous Topic:Ant build problem
Next Topic:TreeViewer - setSelection
Goto Forum:
  


Current Time: Thu Jul 17 02:15:44 EDT 2025

Powered by FUDForum. Page generated in 0.33927 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top