Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Java Development with the Spring Framework
This is the forum to discuss the Wrox book Professional Java Development with the Spring Framework by Rod Johnson, Juergen Hoeller, Alef Arendsen, Thomas Risberg, Colin Sampaleanu; ISBN: 9780764574832
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Java Development with the Spring Framework section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 7th, 2008, 06:53 PM
Registered User
 
Join Date: Mar 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4 building error

Hi,

Please have a look at this error

Code:
Results :

Tests in error:
  testRotateImageLeft(com.wrox.beginspring.pix.dao.PictureFileRepositoryTest)

Tests run: 16, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/scott/Documents/wrox-pix-web/target/surefire-reports for the individual test results.
and the explanation

Code:
-------------------------------------------------------------------------------
Test set: com.wrox.beginspring.pix.dao.PictureFileRepositoryTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.479 sec <<< FAILURE!
testRotateImageLeft(com.wrox.beginspring.pix.dao.PictureFileRepositoryTest)  Time elapsed: 0.012 sec  <<< ERROR!
java.lang.RuntimeException: Failed to rotate image.
    at com.wrox.beginspring.pix.dao.PictureFileRepository.rotatePicture(PictureFileRepository.java:76)
    at com.wrox.beginspring.pix.dao.PictureFileRepository.rotatePictureLeft(PictureFileRepository.java:56)
    at com.wrox.beginspring.pix.dao.PictureFileRepositoryTest.testRotateImageLeft(PictureFileRepositoryTest.java:61)
Caused by: javax.imageio.IIOException: Can't read input file!
    at javax.imageio.ImageIO.read(ImageIO.java:1279)
    at com.wrox.beginspring.pix.dao.PictureFileRepository.rotatePicture(PictureFileRepository.java:70)
    ... 28 more
Any solutions?

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 10 - building objects kscase BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 5 April 23rd, 2007 05:55 AM
chapter 13 building an index page drb2k2 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 5 March 5th, 2006 07:22 PM
Chapter 8 Building a SQL String kimch BOOK: Beginning Access VBA 0 June 7th, 2005 04:45 PM
Chapter 8: Results Table not building Steve Rosenthal BOOK: Beginning Access VBA 1 September 7th, 2004 07:11 AM



All times are GMT -4. The time now is 10:28 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.