Page 1 of 1

Compiling Issue

Posted: Sat Feb 04, 2006 1:51 am
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.

Posted: Sat Feb 04, 2006 2:17 am
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.

Posted: Sat Feb 04, 2006 2:21 am
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.

Posted: Sat Feb 04, 2006 5:53 am
by selah1
I've solved this problem now. Thanks