Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 6th, 2007, 03:47 AM
Registered User
Join Date: Feb 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compilation Error

Hi All

I am learning Java Bean Technology, using Tomcat. I want to develop a connection manager to connect to a database.

I have created two classes
and put them in the same package

I created a third class that implements interface AppConstants and initiate a DebugWriter Object, when compiling
I got the following errors:

1. Cannot find symbol: class AppConstants
2. Cannot find symbol: class DebugWriter
After searching for a solution, I found that I have to include mybeans folder in classpath so that, other classes want to use any class can find them. Despite that, the program didn't compile.

I have lost, I am trying to find a solution from two days, any advice please.


Reply With Quote
  #2 (permalink)  
Old March 23rd, 2007, 07:14 AM
Friend of Wrox
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post

If you've posted the ConnectionManager code it could've helped a lot to under stand the problem or the complete error you've got.
Any way check did you imported the classes "AppConstants and DebugWriter" in the ConnectionManager class.

If you post the ConnectionManager class code it might help to point out what exactly is the problem.

Reply With Quote

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
Compilation Error furqanms Pro Java 2 September 28th, 2007 11:22 AM
compilation error pratik28 C# 1 September 24th, 2006 07:39 AM
Compilation Error allyant ASP.NET 2.0 Basics 1 August 5th, 2006 05:51 PM
Compilation error Giri ASP.NET 1.0 and 1.1 Basics 3 August 3rd, 2005 04:14 PM
compilation error saint Classic ASP Databases 2 June 23rd, 2003 04:08 AM

All times are GMT -4. The time now is 07:24 PM.

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