[Building Sakai] regarding adding a new own tool in sakai

sangeeta bishnoi sangeeta.bishnoi.1987 at gmail.com
Mon Jun 4 22:35:05 PDT 2012


Hi..

i am really thankful for your replay,i have been created the tool by using
the maven archetype according to the information given in this following
link

http://pmungai.wordpress.com/sakai-developer-guide/

my tool is visible in sakai tools but after adding this tool in a site when
i click on this tool then following error is occur so now what i do plz
suggest me.



Error

An unexpected error has occurred.

Send a bug report

To send a bug report, describe what you were doing when the problem
occurred, in the space below, and press the submit button.

Recovery

To recover from this error without sending in a bug report, please do the
following:

   - Press the Logout button above to logout.
   - Close your browser to assure a clean start.
   - Re-open your browser and start again.



Technical Details

This information will automatically be included in your bug report.

org.sakaiproject.portal.api.PortalHandlerException:
org.apache.wicket.WicketRuntimeException: Can't instantiate page using
constructor public org.sakai.sangeeta.tool.pages.FirstPage()
    at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:862)
caused by: org.apache.wicket.WicketRuntimeException: Can't instantiate
page using constructor public
org.sakai.sangeeta.tool.pages.FirstPage()
    at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:97)
caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
caused by: java.lang.NoClassDefFoundError: Lorg/sakai/sangeeta/logic/SakaiProxy;
    at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
caused by: java.lang.ClassNotFoundException: org.sakai.sangeeta.logic.SakaiProxy
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1438)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1284)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
    at java.lang.Class.getDeclaredFields(Class.java:1743)
    at org.apache.wicket.injection.Injector.findFields(Injector.java:161)
    at org.apache.wicket.injection.Injector.getFields(Injector.java:139)
    at org.apache.wicket.injection.Injector.inject(Injector.java:87)
    at org.apache.wicket.injection.ConfigurableInjector.inject(ConfigurableInjector.java:39)
    at org.apache.wicket.injection.ComponentInjector.onInstantiation(ComponentInjector.java:52)
    at org.apache.wicket.Application.notifyComponentInstantiationListeners(Application.java:1093)
    at org.apache.wicket.Component.<init>(Component.java:923)
    at org.apache.wicket.MarkupContainer.<init>(MarkupContainer.java:113)
    at org.apache.wicket.MarkupContainer.<init>(MarkupContainer.java:105)
    at org.apache.wicket.Page.<init>(Page.java:239)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120605/c4f31cb6/attachment.html 


More information about the sakai-dev mailing list