Exception in running a small plugin

Hi All,

I am new to this plugin development. Am using IDEA 6.0.
As per the live demo given in IntelliJ plugin section, I downloaded the plugin development package and extracted in my IntelliJ home dircetory. Tried writing a small action in tools menu. After doing this I created a new 'Run Configuration' for this plugin. When I try to run / debug it, Intellij is trying to open a new instance and I get the below mentioned exception.

Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.samples.ActionsPlugin
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:3)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.components.impl.ComponentManagerImpl.loadComponentsConfiguration(ComponentManagerImpl.java:42)
... 20 more
[   4156]  ERROR - ij.components.ComponentManager - Error while initializing component: com.intellij.openapi.samples.ActionsPlugin:com.intellij.openapi.samples.ActionsPlugin

1. Why is it trying to open the Sample projects?
2. Am I missing something in setting up a plugin project?
3. I checked for this 'ActionsPlugin' in 'openapi.jar' and found that in 'com.intellij.openapi' package, there is no 'samples' package available.

Can someone please help me in overcoming this small exception.

Please sign in to leave a comment.