Hi Jim,

The issue might be coming from the lack of a constructor with a Context
parameter in your ProcessManagerApplication class. As o.r.Application also
has a default constructor, you might have missed this requirement. 

Best regards,
Jerome  

> -----Message d'origine-----
> De : Jim Alateras [mailto:[EMAIL PROTECTED] 
> Envoyé : vendredi 1 juin 2007 08:39
> À : [email protected]
> Objet : warning instantiating one of my resources
> 
> Can someone pls provide some information on this exception. I 
> am running 
> outside the Neolios Restlet Engine. Everything works fine but 
> wondering 
> whether I actually need to implement this constructor and the 
> purpose of 
> it.
> 
> 16:30:32,578 WARN  [/procmgr] procmgr: [Noelios Restlet Engine] - The 
> ServerServ
> let couldn't invoke the constructor of the target class. Please check 
> this class
>   has a constructor with a single parameter of Context. The empty 
> constructor and
>   the context setter wille used instead. 
> au.com.comware.procmgr.application.Proce
> ssManagerApplication
> java.lang.NoSuchMethodException: 
> au.com.comware.procmgr.application.ProcessManag
> erApplication.<init>(org.restlet.Context)
>          at java.lang.Class.getConstructor0(Class.java:2678)
>          at java.lang.Class.getConstructor(Class.java:1629)
> 
> cheers
> </jima>

Reply via email to