[xwiki-users] Failed to execute the [velocity] macro
goeln... Hi, I tried to build a xwiki project. The build was successful but on accessing the localhost, I got this error "Failed to execute the [velocity] macro" error.txt <http://xwiki.475771.n2.nabble.com/file/n7584691/error.txt> {java.lang.NoClassDefFoundError: org/xwiki/classloader/URIClassLoader$URIResourceFinder}. In Java its a common error but as I am not much experienced with xWiki, I am unable to find a fix. Any idea to fix this error ? Complete error details are in the file attached. -- View this message in context: http://xwiki.475771.n2.nabble.com/Failed-to-execute-the-velocity-macro-tp758... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, On Apr 15, 2013, at 9:57 AM, NGoel <[email protected]> wrote:
goeln... Hi,
I tried to build a xwiki project. The build was successful but on accessing the localhost, I got this error "Failed to execute the [velocity] macro" error.txt <http://xwiki.475771.n2.nabble.com/file/n7584691/error.txt> {java.lang.NoClassDefFoundError: org/xwiki/classloader/URIClassLoader$URIResourceFinder}. In Java its a common error but as I am not much experienced with xWiki, I am unable to find a fix. Any idea to fix this error ? Complete error details are in the file attached.
It means you're missing the xwiki classloader jar in your classpath. Can you show us what you've done specifically (what you've built) and how you run xwiki? Thanks -Vincent
Hi, I am building an open source project https://github.com/compbio-UofT/phenotips/ which uses Maven for management and the script used to run the project is start.sh <http://xwiki.475771.n2.nabble.com/file/n7584694/start.sh> . Environment is Linux (Ubuntu 12.04) in case it matters. -- View this message in context: http://xwiki.475771.n2.nabble.com/Failed-to-execute-the-velocity-macro-tp758... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Apr 15, 2013, at 10:14 AM, NGoel <[email protected]> wrote:
Hi,
I am building an open source project https://github.com/compbio-UofT/phenotips/ which uses Maven for management and the script used to run the project is start.sh <http://xwiki.475771.n2.nabble.com/file/n7584694/start.sh> . Environment is Linux (Ubuntu 12.04) in case it matters.
I'd suggest you contact whoever created that maven build. I see Sergiu Dumitriu is a participant to this project, he should be able to help you out :) Again, it just means you're missing a dependency on xwiki-commons-classloader-api in your distribution (either direct or transitive). Thanks -Vincent
Thanks Vincent :) -- View this message in context: http://xwiki.475771.n2.nabble.com/Failed-to-execute-the-velocity-macro-tp758... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
NGoel -
Vincent Massol