Hi Lukas,
 Thanks for your reply.i had got got a work around from the forum only.i,e
giving the class path in mvn.bat file like below

   @REM Start MAVEN2

:runm2

%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath ./src/site/resources;
%CLASSWORLDS_JAR%
"-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%"
org.codehaus.classworlds.Launcher %MAVEN_CMD_LINE_ARGS% 

Lukas Theussl-4 wrote:
> 
> 
> but after giving that i am unable to run i am encountering with the below
> errors
>  
>  Exception in thread "main" java.lang.NoClassDefFoundError:
> D:\Programs\apache-ma
> ven-2/1/0\bin\//\boot\classworlds-1/1/jar
> Caused by: java.lang.ClassNotFoundException:
> D:\Programs\apache-maven-2.1.0\bin\
> ..\boot\classworlds-1.1.jar
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> 
> is there any other way to give the classpath in the mvn.bat file
> 
> Thanks
> Debasis
> 
> http://jira.codehaus.org/browse/DOXIA-355
> 
> Will be fixed in the next release...
> 
> -Lukas
> 
> 
> Mr Debasis wrote:
>> Hi All,
>>  I am using Doxia plugin to generate the user guide in pdf format.
>>  I have written the file in APT format.I am executing the render-book
>> goals
>> and generating the pdf.
>>  
>> The images are not coming i have written in the APT like below
>>  [images/aglite-modules.bmp] .
>> my directory structure is------------------------------------src
>>                                                                              
>>        
>> |-site
>>                                                                              
>>             
>> |--apt
>>                                                                              
>>             
>> |--resources
>>                                                                              
>>                     
>> |--images
>>                                                                              
>>                              
>> |--aglite-modules.bmp
>> i am getting the eror like below
>> 
>> [WARNING] [latex-sink] Found non-eps figure graphics!
>> [WARNING] No image aglite-modules.bmp found in the class loader. Try to
>> call
>> setClassLoader(ClassLoader) before.
>> Exception in thread "main" ExceptionConverter:
>> java.net.MalformedURLException: The URL of the image is missing.
>> 
>> If i am keeping the images in the same drectory where APT lies then also
>> i
>> am encountering with same error.
>> 
>> But if I am generating the sites then i am able to see those images in
>> the
>> generated html page.
>> only in case of pdf/rtf this image is not working and throwing those
>> errors.
>> 
>> Thanks
>> Debasis
>> 
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Images-are-not-coming-while-generating-the-pdf-rtf-book-tp25803272p25818275.html
Sent from the Doxia - Users mailing list archive at Nabble.com.

Reply via email to