yanlin-Lynn commented on issue #25099: [SPARK-28337][spark-assembly]add 
commons-jxpath dependency for assembly.
URL: https://github.com/apache/spark/pull/25099#issuecomment-510304849
 
 
   > I think in this case you just want to include commons-configuration and 
commons-jxpath in your app, no? I don't think we'd add this to Spark just 
because an app wants it.
   
   No. Include commons-configuration and commons-jxpath in app cannot solve 
this problem. The spark already contains commons-configuration in its jars 
directory. XPathExpressionEngine is loaded from jar file in the jars directory, 
when it needs to load NodePointerFactory, which is needed by 
XPathExpressionEngine, user spark app jar is not in the path for searching. 
That's the reason it cause ClassNotFoundException.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to