You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Tuan Quan <tu...@yahoo.com> on 2009/08/05 00:22:13 UTC
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
Hi all,
I'm using FOP 0.93.
Got the above message, when execute the following script.
Any help would be very appreciated.
I have checked the .jar and they all are there specified in class path.
thanks.
Tuan.
PS. The script is in /apps/Process.
FOP 0.93 is in /apps/fop-0.93
Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
Posted by Tuan Quan <tu...@yahoo.com>.
thanks, Sergiu.
It works. Somehow I overlooked that one.
________________________________
From: Sergiu Dumitriu <se...@xwiki.com>
To: fop-users@xmlgraphics.apache.org
Sent: Wednesday, August 5, 2009 9:34:57 AM
Subject: Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
Tuan Quan wrote:
> This is on Solaris
Solaris is Unix-like, so : is used. See http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/classpath.html
> ------------------------------------------------------------------------
> *From:* Sergiu Dumitriu <se...@xwiki.com>
> *To:* fop-users@xmlgraphics.apache.org
> *Sent:* Tuesday, August 4, 2009 4:39:44 PM
> *Subject:* Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
>
> Tuan Quan wrote:
> > Hi all,
> > I'm using FOP 0.93.
> > Got the above message, when execute the following script.
> > Any help would be very appreciated.
> > I have checked the .jar and they all are there specified in class path.
> > thanks.
>
> On Linux systems, classpath entries should be separated by a colon (:) instead of a semicolon (;)
>
> LOCALCLASSPATH="$LOCALCLASSPATH;$LIBDIR/jimi-1.0.jar"
> becomes:
> LOCALCLASSPATH="$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar"
-- Sergiu Dumitriu
http://purl.org/net/sergiu/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
Posted by Sergiu Dumitriu <se...@xwiki.com>.
Tuan Quan wrote:
> This is on Solaris
Solaris is Unix-like, so : is used. See
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/classpath.html
> ------------------------------------------------------------------------
> *From:* Sergiu Dumitriu <se...@xwiki.com>
> *To:* fop-users@xmlgraphics.apache.org
> *Sent:* Tuesday, August 4, 2009 4:39:44 PM
> *Subject:* Re: Exception in thread "main"
> java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
>
> Tuan Quan wrote:
> > Hi all,
> > I'm using FOP 0.93.
> > Got the above message, when execute the following script.
> > Any help would be very appreciated.
> > I have checked the .jar and they all are there specified in class path.
> > thanks.
>
> On Linux systems, classpath entries should be separated by a colon (:)
> instead of a semicolon (;)
>
> LOCALCLASSPATH="$LOCALCLASSPATH;$LIBDIR/jimi-1.0.jar"
> becomes:
> LOCALCLASSPATH="$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar"
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
Posted by Tuan Quan <tu...@yahoo.com>.
This is on Solaris
________________________________
From: Sergiu Dumitriu <se...@xwiki.com>
To: fop-users@xmlgraphics.apache.org
Sent: Tuesday, August 4, 2009 4:39:44 PM
Subject: Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
Tuan Quan wrote:
> Hi all,
> I'm using FOP 0.93.
> Got the above message, when execute the following script.
> Any help would be very appreciated.
> I have checked the .jar and they all are there specified in class path.
> thanks.
On Linux systems, classpath entries should be separated by a colon (:) instead of a semicolon (;)
LOCALCLASSPATH="$LOCALCLASSPATH;$LIBDIR/jimi-1.0.jar"
becomes:
LOCALCLASSPATH="$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar"
and so on.
-- Sergiu Dumitriu
http://purl.org/net/sergiu/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
Posted by Sergiu Dumitriu <se...@xwiki.com>.
Tuan Quan wrote:
> Hi all,
> I'm using FOP 0.93.
> Got the above message, when execute the following script.
> Any help would be very appreciated.
> I have checked the .jar and they all are there specified in class path.
> thanks.
On Linux systems, classpath entries should be separated by a colon (:)
instead of a semicolon (;)
LOCALCLASSPATH="$LOCALCLASSPATH;$LIBDIR/jimi-1.0.jar"
becomes:
LOCALCLASSPATH="$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar"
and so on.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org