[forge-users] Plugin Problems when using Class.forName()

Max Schwaab max.schwaab at akquinet.de
Fri Jan 20 11:49:16 EST 2012


Hey there,

I try to get my plugin working and now I have the problem that my plugin 
can't find one of its classes when I try to invoke the default command.
The plugin does some stuff an finally a 
Class.forName("org.hibersap.forge.plugin.FunctionModuleSearch")

Do you have any hints why Class.forName() can't find the class?

The message is

***ERROR*** [generate-sap-entities] Cannot find class 
org.hibersap.forge.plugin.FunctionModuleSearch in classpath

The funny thing about this is, with Forge Beta 5 everything is working 
fine, with the latest Forge snapshot I miss my class :\

This is all within the same Maven JAR plugin project. I'm using a 
framework which is using the Class.forName() method. So there's no way 
out of this :)

Must be something to do with the latest changes since Beta 5 is published.

Thanks for your help,

best regards,

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-users/attachments/20120120/322a2f69/attachment.html 


More information about the forge-users mailing list