can't compile.

Hi,

I was a VB developer and started to develop using java recently.

I had to do some modification in a existing java project uses tomcat as the web server. I'm using Jbuilder 9 toas my editor. what I'm doing is open files using jbuilder and do the modification. I did couple of changes in my jsp files and those changes are working fine. Recently I had to do a modification in one of .java file. So I opened the file using Jbuilder and did the modification. then when I tried to compile the file It gave a lot of errors. when i run the site without the change i did to .java file it's working perfectly.

most of the error like.

<file name>.package <path> doesnot exist at line <line number>, column<column number>

but those files exist in relavant folders reffered and i think when i'm compiling the .java file it can't refer those files.

How can I compile my .java file and make the .class file.

Thanks in advance.

[994 byte] By [NalakaHewagea] at [2007-10-3 1:58:13]
# 1
First : WELCOME TO THE WORLD OF JAVA ( and endless number of fraustrations)A first guess would be to check the CLASSPATH settings. Can u please get back with a typical error u r getting.. .. becuase an error report would hardly give something like c'olum'Good Luck!
arijit_dattaa at 2007-7-14 18:56:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

hi arijit_datta,

Here I list down couple of errors I got when trying to compile.

"LeaveApplication.java": package com.HRM.eLeave.dbhandle does not exist at line 3, column 35

"LeaveApplication.java": package com.HRM.eLeave.util does not exist at line 11, column 1

"LeaveApplication.java": cannot resolve symbol: class Environment in class com.HRM.eLeave.leaveApplication.LeaveApplication at line 31, column 72

"LeaveApplication.java": cannot resolve symbol: class Environment in class com.HRM.eLeave.leaveApplication.LeaveApplication at line 397, column 19

NalakaHewagea at 2007-7-14 18:56:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Hi,When I run the application it's working perfectly without any errors. It gives errors only when I compile the .java file. can someone tell me why i get these errors.
NalakaHewagea at 2007-7-14 18:56:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...