Hello, i tried to implement the component example
http://extensions.xwiki.org/xwiki/bin/view/Extension/WikiComponent+Module
which is also available from
https://github.com/jvdrean/xwiki-proverb-example
When i put the compiled jar at WEB-INF/lib i get after starting the server
org.xwiki.query.QueryException: Exception while execute query. Query
statement = [ select doc.space , doc.name from XWikiDocument as doc ,
BaseObject as proverb
where ( proverb.proverb <> '' ) and doc.fullName=proverb.name and
proverb.className='XWiki.Proverb' ]
...
"Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception
while hibernate execute
Wrapped Exception: could not resolve property: proverb of:
com.xpn.xwiki.objects.BaseObject [ select doc.space , doc.name from
com.xpn.xwiki.doc.XWikiDocument a
s doc , com.xpn.xwiki.objects.BaseObject as proverb where ( proverb.proverb
<> '' ) and doc.fullName=proverb.name and
proverb.className='XWiki.Proverb'
]
I use XWIKI v5.1 with embedded HsqlDB on Windows7. I dont get whats wrong
and really appreciate some hints.
My goal is to all new classes to a document or new properties to a page, but
even get this example. Has anyone an idea what i did wrong?
Regards,
Matthias
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Componente-Example-Proverb-Not-working-tp…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.