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 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 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 Search this Thread Display Modes
  #1 (permalink)  
Old May 14th, 2014, 07:54 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
  #2 (permalink)  
Old June 11th, 2014, 11:30 PM
Wrox Author
Points: 36, Level: 1
Points: 36, Level: 1 Points: 36, Level: 1 Points: 36, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
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



All times are GMT -4. The time now is 05:36 PM.


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