Class not found [message #266965] |
Sat, 14 August 2004 09:43 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.33927 seconds