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 December 13th, 2011, 06:03 PM
Registered User
 
Join Date: Dec 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Problem for running X509V1CreateExample

Hi David,

I am reading and running some examples from Beginning Cryptography with Java. It is a great book. Examples from chapter 1 to chapter 4 can run perfertly using Eclipse. When I run the code example from Chapter 6, I got into the troubls.

For the code "import org.bouncycastle.x509.X509V1CertificateGenerator;"
the compiler gives me the following error.

"Access restriction: The type X509V1CertificateGenerator is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\bcprov-jdk14-146.jar"

Can you help me fix this problem. Thanks very much!
 
Old December 13th, 2011, 08:20 PM
dgh dgh is offline
Wrox Author
 
Join Date: Aug 2005
Posts: 206
Thanks: 0
Thanked 20 Times in 20 Posts
Default

I can't be sure as I don't use Eclipse myself, but normally an error like this would be to the class appearing twice in the classpath and class loader confusion has resulted.

Regards,

David





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem while running EJB Q4Java EJB 2 June 12th, 2011 11:42 AM
Chapter 1 - problem running the example ramesh_java BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 0 August 5th, 2010 02:48 PM
Problem running a JSP arzamendip Pro JSP 0 September 11th, 2006 03:48 PM
problem running struts Miss komal Struts 2 August 2nd, 2006 03:12 AM
Problem running Struts Eldo Zacharia Apache Tomcat 1 November 15th, 2004 11:50 PM





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