Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I resolve this compile error

Status
Not open for further replies.

msen

IS-IT--Management
Apr 24, 2001
36
0
0
US
C:\Monitor\com\jpmc\ecg>javac c:\monitor\ProcessClientIncomingData.java
c:\monitor\ProcessClientIncomingData.java:8: package com.jpmc.ecg.db does not exist
import com.jpmc.ecg.db.*;
^
c:\monitor\ProcessClientIncomingData.java:124: cannot resolve symbol
symbol : class JDBCDBServer
location: class com.jpmc.ecg.util.ProcessClientIncomingData
JDBCDBServer localJdbcServer = null;
^
c:\monitor\ProcessClientIncomingData.java:131: cannot resolve symbol
symbol : variable fileLocation
location: class com.jpmc.ecg.util.ProcessClientIncomingData
localDbStatus = JPMCTracking.insertProcessStatus(clientName, statusCode, fileLocation);
^
c:\monitor\ProcessClientIncomingData.java:131: cannot resolve symbol
symbol : variable JPMCTracking
location: class com.jpmc.ecg.util.ProcessClientIncomingData
localDbStatus = JPMCTracking.insertProcessStatus(clientName, statusCode, fileLocation);
^
4 errors
 
I've never heard of the package "com.jpmc.ecg.db" but you need to include these classes in your CLASSPATH environment variable.
 
the application you are working on probably has a com directory in the src file or something similar to this. The problem may be that the missing package is in the wrong location...if that is the case, copy and past it into the com directory where the remainder of the application exists
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top