Hello all!
I've followed the step-by-step available on:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents
<%
def greeter = com.xpn.xwiki.web.Utils.getComponent(org.xwiki.component.
HelloWorld.class);
println greeter.sayHello();
%>
And all I get when trying to use it with the Groovy code above is:
Error:
java.lang.RuntimeException: Failed to load component xwiki.component.Hello
World?<http://10.11.1.221:9086/xwiki/bin/edit/org.xwiki.component/HelloWorld?parent=Main.teste9>
for
hint
default<http://10.11.1.221:9086/xwiki/bin/edit/Main/default?parent=Main.teste9>
? <http://10.11.1.221:9086/xwiki/bin/edit/Main/default?parent=Main.teste9>
Does anyone have any clue on what I'm doing wrong?
Thank you!
Wilson