Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > BOOK: Beginning Cryptography with Java
BOOK: Beginning Cryptography with Java
This is the forum to discuss the Wrox book Beginning Cryptography with Java by David Hook; ISBN: 9780764596339
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Cryptography with Java 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 October 5th, 2005, 11:28 PM
Registered User
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default source code examples and Eclipse 3.1.1

I'm just a newbie, so pardon me if I can't get chapter3 built. Can't find chapter2.Util class. So, I add...

import chapter2.Util; /* doesn't do the trick */

Now get error:

The import chapter2.Utils conflicts with a type defined in the same file.

Hello of a way to run a railroad.

Old October 6th, 2005, 06:21 AM
dgh dgh is offline
Wrox Author
Join Date: Aug 2005
Posts: 206
Thanks: 0
Thanked 20 Times in 20 Posts

Funnily enough I developed the examples under eclipse. You'll find the reason for the error is that the chapter3.Utils class can't find its parent chapter2.Utils. This can happen if eclipse is confused about what source files are meant to be involved in the compilation.

The easiest way to avoid this is to have all the chapters in a single project with a separate folder from the project folder used as the root directory of the source tree. If this is done all the chapters should compile nicely.



Old October 16th, 2005, 07:44 AM
Registered User
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Many thanks. javascript:insertsmilie(':)')
Smile :)


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning Java Web Services source code examples ch1cago2la Java Basics 1 May 3rd, 2009 01:52 PM
source code examples Beginning Java Web Services ch1cago2la All Other Wrox Books 1 November 18th, 2008 04:49 PM
Using the framework code/ear in Eclipse gvimalku BOOK: Expert One-on-One J2EE Design and Development 2 November 5th, 2005 05:09 AM
code for examples marciann BOOK: Access 2003 VBA Programmer's Reference 3 February 20th, 2005 07:35 PM

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