Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
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 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 February 6th, 2007, 03:47 AM
Registered User
 
Join Date: Feb 2007
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
Code:
AppConstants
and
Code:
DebugWriter
and put them in the same package
Code:
mybeans
.

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

Code:
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.

JOTNARTA

 
Old March 23rd, 2007, 07:14 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,
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.

Regards,
Rakesh





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





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