Dear Dave,

this is how it is given at SiteGraph page:

java -cp ... -jar struts2-sitegraph-plugin-x.x.x.jar
     -config CONFIG_DIR
     -views VIEWS_DIRS
     -output OUTPUT
     [-ns NAMESPACE]


--
Milan

newton.dave wrote:
> 
> --- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
>> I put this in my classpath:
>> 
>> C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib\commons-logging-1.0.4.jar;
>> 
>> and I run sitegraph from my lib folder:
>> 
>> C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib>java
>> -cp ... -jar struts2-sitegraph-plugin-2.0.11.1.jar -config ../src/java
>> -views ../../pages -output shema
>> 
>> and I get this exception:
>> 
>> Exception in thread "main"
>> java.lang.NoClassDefFoundError:
>> org/apache/commons/logging/LogFactory
>>         at
>> org.apache.struts2.sitegraph.SiteGraph.<clinit>(SiteGraph.java:51)
>> 
>> What is the problem here ?
> 
> You have a single jar in your classpath. It seems unlikely, at best, that
> this single jar contains all the dependencies for running sitegraph.
> 
> I'm also not sure what "-cp ..." will do; I'm only familiar with that
> notation in regards to enabling/disabling assertions in sub-packages--what
> is your intention with that line argument value? I'm also reasonably sure
> that using the "-cp" argument will override the CLASSPATH environment
> variable.
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Struts-configuration-vizualization-tp18342762p18383461.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to