You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by chaitu <ch...@gmail.com> on 2012/01/25 03:29:11 UTC
Lemya build error - Cacoon - compile-build.xml
Iam very new to lenya and trying to install lenya in unix tomcat 7.0 and jdk 6
env. Iam getting the below error
I know the related jar file is rt.jar of jdk but where should i place the jar
file for linya build classpath. Please help me
/usr/share/apache-lenya-
2.0.4/externals/cocoon_2_1_x/src/java/org/apache/cocoon/reading/ImageReader.jav
a:39: error: package com.sun.image.codec.jpeg does not exist
import com.sun.image.codec.jpeg.ImageFormatException;
^
/usr/share/apache-lenya-
2.0.4/externals/cocoon_2_1_x/src/java/org/apache/cocoon/reading/ImageReader.jav
a:40: error: package com.sun.image.codec.jpeg does not exist
import com.sun.image.codec.jpeg.JPEGCodec;
^
/usr/share/apache-lenya-
2.0.4/externals/cocoon_2_1_x/src/java/org/apache/cocoon/reading/ImageReader.jav
a:41: error: package com.sun.image.codec.jpeg does not exist
import com.sun.image.codec.jpeg.JPEGEncodeParam;
^
/usr/share/apache-lenya-
2.0.4/externals/cocoon_2_1_x/src/java/org/apache/cocoon/reading/ImageReader.jav
a:42: error: package com.sun.image.codec.jpeg does not exist
import com.sun.image.codec.jpeg.JPEGImageEncoder;
^
/usr/share/apache-lenya-
2.0.4/externals/cocoon_2_1_x/src/java/org/apache/cocoon/reading/ImageReader.jav
a:326: error: cannot find symbol
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder
(out);
^
symbol: class JPEGImageEncoder
location: class ImageReader
/usr/share/apache-lenya-
2.0.4/externals/cocoon_2_1_x/src/java/org/apache/cocoon/reading/ImageReader.jav
a:326: error: cannot find symbol
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder
(out);
BUILD FAILED
apache-lenya-2.0.4/src/targets/init-build.xml:64: The following error occurred
while executing this line:
apache-lenya-2.0.4/src/targets/init-build.xml:73: The following error occurred
while executing this line:
/apache-lenya-2.0.4/externals/cocoon_2_1_x/tools/targets/compile-build.xml:68:
The following error occurred while executing this line:
apache-lenya-2.0.4/externals/cocoon_2_1_x/tools/targets/compile-build.xml:51:
Compile failed; see the compiler error output for details.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Lemya build error - Cacoon - compile-build.xml
Posted by Richard Frovarp <rf...@apache.org>.
On 01/24/2012 08:29 PM, chaitu wrote:
> Iam very new to lenya and trying to install lenya in unix tomcat 7.0 and jdk 6
> env. Iam getting the below error
> I know the related jar file is rt.jar of jdk but where should i place the jar
> file for linya build classpath. Please help me
> /usr/share/apache-lenya-
> 2.0.4/externals/cocoon_2_1_x/src/java/org/apache/cocoon/reading/ImageReader.jav
> a:39: error: package com.sun.image.codec.jpeg does not exist
> import com.sun.image.codec.jpeg.ImageFormatException;
> ^
>
You shouldn't have to touch rt.jar. That will be included by default by
your JVM.
Which JVM are you using? My guess would be that you're using one from
someone other than Sun/Oracle/OpenJDK.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org