Wrox Programmer Forums
|
BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2
This is the forum to discuss the Wrox book Beginning Spring Framework 2 by Thomas Van de Velde, Bruce Snyder, Christian Dupuis, Sing Li, Anne Horton, Naveen Balani; ISBN: 9780470101612
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 26th, 2009, 10:11 PM
Registered User
 
Join Date: Sep 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Problem running my first spring application

Hello,
I'll appreciate if anyone can help me running the first spring application in the book.
The soruce code is in src\chapter1\springfirst

I have compiled it and when I ran it using this command:

mvn exec:java -Dexec.mainClass=com.wrox.begspring.CalculateSpring -Dexec.args="3000 3"

I got this error:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix:'exec'
-------------------------------------------------------------
[INFO] Building springfirst
[INFO] task-segment: [exec:java]
[INFO]------------------------------------------------------
[INFO] Preparing exec:java
[INFO] No goals needed for project - skipping
[INFO] [exec:java]
[INFO]-------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] An exception occured while executing the Java class. null

org.apache.commons.logging.LogFactory
[INF0]-------------------------------------------------------

Thank you
 
Old September 28th, 2009, 07:25 PM
Authorized User
 
Join Date: Aug 2009
Posts: 10
Thanks: 3
Thanked 3 Times in 3 Posts
Smile Problem running my first Spring application

Hi Elvin Lee,
I am EverettG and started with this book several months ago. One of the first things I did was read through every post in this forum and relate each thread to the chapters of the book. As you can see many of the original posters have stopped and there are very few current ones. Also recently we have had one of the authors start to contribute to the forum. This has helped tremendously. I hope he continues. In the mean time, you are experiencing a problem almost all of the prior posters experienced when they tried to run the code in chapter 1. The particular post you should read is titled Build error. You should be able to get your answer there, It helped me. I will be continuing on and off through the book and posting any problems/solutions I find. Currently I am finished through chapter 4. I will help in any way that I can. Hope this helps.

Until next time...............

EverettG.
The Following User Says Thank You to egoodenuf For This Useful Post:
Elvin Lee (September 28th, 2009)
 
Old September 28th, 2009, 08:56 PM
Registered User
 
Join Date: Sep 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default I found the answer

Thank you Everett.

I have found the answer. I have just had to download: org.apache.commons.logging.jar file from http://commons.apache.org/downloads/...ad_logging.cgi and then put that jar file on my C:\Program Files\Java\jdk1.6.0_16\jre\lib\ext directory.





Similar Threads
Thread Thread Starter Forum Replies Last Post
running thread with out problem in Web application pratik28 ASP.NET 2.0 Basics 0 April 3rd, 2009 06:39 AM
WroxUnited C# application running problem lisan_uoda BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 December 30th, 2008 09:04 AM
Problem running Application on network hellian Apache Tomcat 1 June 7th, 2007 11:44 PM
problem running ms access application method Access 1 March 23rd, 2005 09:16 AM
problem in running first web application ankit_29882 JSP Basics 2 February 11th, 2004 08:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.