cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Rangarajan <rangarajan.ki...@gmail.com>
Subject Not able to build and run Cocoon
Date Mon, 11 Feb 2013 18:12:09 GMT
Hello,

I have Java and JDK set up on my system. When I build Cocoon I get the
following error. I am not able to figure out what is wrong. Can you please
help me out with it.

The errors are:

C:\Program Files\cocoon-2.1.11-src\cocoon-2.1.11>build.bat

Buildfile: build.xml



prepare:

====================================================================

                 Apache Cocoon 2.1.11 [1999-2007]

====================================================================

Building with Apache Ant version 1.6.5 compiled on June 2 2005

--------------------------------------------------------------------

Using build file C:\Program Files\cocoon-2.1.11-src\cocoon-2.1.11\build.xml

--------------------------------------------------------------------

Compiler options:

   - debug ......... [on]

   - optimize ...... [on]

   - deprecation ... [off]

====================================================================



compile-core:

Compiling 596 source files to C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\b

uild\cocoon\classes

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:39: error: package com.sun.image.codec.jpeg does not
exist

import com.sun.image.codec.jpeg.ImageFormatException;

                               ^

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:40: error: package com.sun.image.codec.jpeg does not
exist

import com.sun.image.codec.jpeg.JPEGCodec;

                               ^

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:41: error: package com.sun.image.codec.jpeg does not
exist

import com.sun.image.codec.jpeg.JPEGEncodeParam;

                               ^

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:42: error: package com.sun.image.codec.jpeg does not
exist

import com.sun.image.codec.jpeg.JPEGImageEncoder;

                               ^

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:326: error: cannot find symbol

                    JPEGImageEncoder encoder =
JPEGCodec.createJPEGEncoder(out);



                    ^

  symbol:   class JPEGImageEncoder

  location: class ImageReader

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:326: error: cannot find symbol

                    JPEGImageEncoder encoder =
JPEGCodec.createJPEGEncoder(out);



                                               ^

  symbol:   variable JPEGCodec

  location: class ImageReader

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:327: error: cannot find symbol

                    JPEGEncodeParam p =
encoder.getDefaultJPEGEncodeParam(curren

tImage);

                    ^

  symbol:   class JPEGEncodeParam

  location: class ImageReader

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:333: error: cannot find symbol

                    JPEGImageEncoder encoder =
JPEGCodec.createJPEGEncoder(bstre

am);

                    ^

  symbol:   class JPEGImageEncoder

  location: class ImageReader

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:333: error: cannot find symbol

                    JPEGImageEncoder encoder =
JPEGCodec.createJPEGEncoder(bstre

am);

                                               ^

  symbol:   variable JPEGCodec

  location: class ImageReader

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:334: error: cannot find symbol

                    JPEGEncodeParam p =
encoder.getDefaultJPEGEncodeParam(curren

tImage);

                    ^

  symbol:   class JPEGEncodeParam

  location: class ImageReader

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\read

ing\ImageReader.java:342: error: cannot find symbol

            } catch (ImageFormatException e) {

                     ^

  symbol:   class ImageFormatException

  location: class ImageReader

11 errors



BUILD FAILED

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\tools\targets\compile-build.xml

:68: The following error occurred while executing this line:

C:\Program
Files\cocoon-2.1.11-src\cocoon-2.1.11\tools\targets\compile-build.xml

:51: Compile failed; see the compiler error output for details.



Total time: 17 seconds



C:\Program Files\cocoon-2.1.11-src\cocoon-2.1.11>



Thanks a lot for your help.


Regards

Kiran Rangarajan

Mime
View raw message