Wrox Programmer Forums
|
BOOK: Professional Java for Web Applications
This is the forum to discuss the Wrox book Professional Java for Web Applications by Nicholas S. Williams; ISBN: 978-1-118-65646-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Java for Web Applications 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 May 14th, 2014, 07:54 AM
Registered User
 
Join Date: May 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Project build help.

Does anyone have any resources for how to build and debug the Java web projects in this book. I'm using IntelliJ Idea 13.1.2 Ulitimate edition. There is no explanation on how to build the projects with Maven.

I can run and debug the project in Chapter 2 just fine using the exploded .war info from the downloadable code. When I got to Chapter 3, I learned how to build the project with Maven on my own and it seemed to work. However, when I got to Chapter 4, I can get my project to run, but I can not debug the .jsp files. I set break points and click the 'Debug' command and the page just loads as if I clicked the 'Run' command.
 
Old June 11th, 2014, 11:30 PM
Wrox Author
 
Join Date: Jun 2014
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Executing "mvn compile" (just compile) or "mvn package" (create the WAR) should build every example just fine. If not, I definitely want to correct that. As for debugging from IntelliJ, that should "just work." Clicking the "Debug" button causes IntelliJ to compile the project (if it hasn't already been compiled) and start Tomcat in debug mode. Is it _only_ breakpoints in the JSPs that you can't hit, or can you also not hit breakpoints in regular Java classes?
__________________
-- Nick Williams





Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't build my project. I get an error! BlueTower C++ Programming 0 January 18th, 2012 01:53 PM
VB2005 Project Build Error ashg657 Visual Basic 2005 Basics 1 August 6th, 2006 06:57 PM
How to build project ? kubadebe Visual C++ 2005 0 May 9th, 2006 03:44 AM
I cant build and start my project snowydust VB.NET 2002/2003 Basics 1 November 28th, 2004 04:23 AM
How to Build Project Lee8mm VS.NET 2002/2003 2 July 2nd, 2003 07:18 AM





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