Got it. Thanks! ~David tmortagne (via Nabble) wrote:
On Tue, Oct 13, 2009 at 21:12, breeden <[hidden email] <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3818654&i=0>> wrote:
Hi,
I'm writing a component with a dependency on a 3rd-party JAR. I've installed the JAR in my local repository and added the dependency in
the
component's POM, and everything builds fine. However, when I add the component to my XWiki install (on the same machine) and try to start it up, I get a NoClassDefFound error.
What is the standard way to write a component with 3rd-party dependencies?
You are supposed to put the dependencies jar files to the XWiki install also.
Thanks!
~David -- View this message in context:
http://n2.nabble.com/Component-with-3rd-party-dependency-tp3818195p3818195.h...
Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [hidden email] <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3818654&i=1> http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [hidden email] <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3818654&i=2> http://lists.xwiki.org/mailman/listinfo/users
------------------------------------------------------------------------ View message @ http://n2.nabble.com/Component-with-3rd-party-dependency-tp3818195p3818654.h...
To unsubscribe from Component with 3rd-party dependency, click here < (link removed) >.
-- View this message in context: http://n2.nabble.com/Component-with-3rd-party-dependency-tp3818195p3818729.h... Sent from the XWiki- Users mailing list archive at Nabble.com.