struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Milanovic <milanmilanov...@yahoo.com>
Subject Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization
Date Thu, 10 Jul 2008 14:09:01 GMT

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 <milanmilanovich@yahoo.com> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message