Compiling Issue

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
selah1
Posts: 3
Joined: Sat Feb 04, 2006 1:48 am

Compiling Issue

Post by selah1 »

Hi everyone,
I've had some experience programming in java but I'm running into some problems in Textpad. I think I just forgot how to do certain things but in any case, here's what's happening. I'm trying to compile a servlet I created but am running into an error that reads "package system.business does not exist
import system.business.*;" I get the same error for my data package. So essentially it's not seeing my file structure or it's just not set. I'm using Tomcat to run my JSP files and I have my project folder in the root directory. Inside the project folder, I also have a WEB-INF folder and some of its contents look like this:

WEB-INF\classes\system\business
WEB-INF\classes\system\data
WEB-INF\classes\system\util

So I setup all these folders manually. I have all the requirements to compile and use Java because I have been able to compile. The problem I run into is when I try to import these folders (or packages). Anyone have ideas? Thank you and I appreciate your help.
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

I'm 6 years out of date on Tomcat things but you may have better luck on the Java or the Tomcat forums. I don't know that many of our regulars here work with Tomcat.
I choose to fight with a sack of angry cats.
selah1
Posts: 3
Joined: Sat Feb 04, 2006 1:48 am

Post by selah1 »

Well I just mentioned that I used Tomcat so it's clear how I'm running my application. The main issue is compiling in Textpad.
selah1
Posts: 3
Joined: Sat Feb 04, 2006 1:48 am

Post by selah1 »

I've solved this problem now. Thanks
Post Reply