The classname must include the package.

class: my.package.MyPlugin

/Johan


23 aug 2007 kl. 14.05 skrev Peter Mertens:

> Dear Mailing list,
>
> at this moment i'm trying to install a plugin in Base but it does  
> not work.
>
> Say I have a plugin class called MyPlugin.class.
> I have put this class in a jar MyPlugin.jar.
> Then i stored the jar in my  Base dir/Tomcat/nutriBase/plugins/.
>
> class: MyPlugin
> path: /../Base dir/Tomcat/nutriBase/plugins/MyPlugin.jar
>
> When i pressed save, i got an exception telling me "wrong name  
> MyPlugin".
>
> Then i put the class file in a folder called MyWork and put this in  
> the jar MyPlugin.jar.
> Also i put the jar in /Base dir/Tomcat/nutriBase/plugins/MyWork/.
>
> I tried installing it with:
> class: MyPlugin
> path: /../Base dir/Tomcat/nutriBase/plugins/MyWork/MyPlugin.jar
>
> Which gave me a "could not instantiate plugin class: MyPlugin"
>
> I followed the guidelines from base documentation, so i suppose  
> that i did not forget any methods (nor the constructor without  
> arguments).
>
> Any suggestions?!
>
> Thanks,
>
> Peter
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/ 
> _______________________________________________
> basedb-devel mailing list
> basedb-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/basedb-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
basedb-devel mailing list
basedb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/basedb-devel

Reply via email to