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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot resolve symbol Tomcat ERROR

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I work with Tomcat 3.2.2 and JDK 1.3.
There's 2 files in WEB-INF\classes : Appli.java and TabloAppli.java
I don't have any problem with Appli.java whereas I've some problems with the following code when I compile writting "javac TabloAppli.java".
I've ever try to compile writting "javac -classpath ...\webapps\..\WEB-INF\classes\ TabloAppli.java"
I've no error but there's no TabloAppli.class generated
Please, help me...

public class TabloAppli extends java.util.Hashtable{
public TabloAppli()
{
this.put("1", new Appli("BC","Bourse en college","Version","liendoc1","liendoc2"));
this.put("2",new Appli("GFE","Gestion Financière Elève","Version ?","liendoc1","liendoc2"));
this.put("3",new Appli("STAR","Stocks Alimentaires Renovés","Version 6","liendoc1","liendoc2"));
this.put("4",new Appli("GTI","Gestion des Tickets Informatisés","Version MS-DOS","liendoc1","liendoc2"));
this.put("5",new Appli("GFCdos","Gestion Financière et Comptable","Version Dos","liendoc1","liendoc2"));
this.put("6",new Appli("GFCwin","Gestion Financière et Comptable","Version Windows","liendoc1","liendoc2"));
this.put("7",new Appli("STAGE","Système de Traitement Automatisé des Groupements d'Etablissement","","liendoc1","liendoc2"));
this.put("8",new Appli("CES","Gestion des Contrats Emploi Solidarité","Version 3","liendoc1","liendoc2"));
this.put("9",new Appli("CEC","Gestion des Contrats Emploi Consolidé","Version 2","liendoc1","liendoc2"));
this.put("10",new Appli("CEJ","Gestion des Contrats Emploi Jeune","Version ?","liendoc1","liendoc2"));
this.put("11",new Appli("GEP","Gestion des Elèves et des Personnels","Version 13","liendoc1","liendoc2"));
this.put("12",new Appli("IVA","Insertion Vie Active","Version ?","liendoc1","liendoc2"));
this.put("13",new Appli("SAGESSE","Système Auto. Gestion Santé Etabl.","Version 2","liendoc1","liendoc2"));
this.put("14",new Appli("IDNB","Inscription au Diplôme National du Brevet","Version 12","liendoc1","liendoc2"));
this.put("15",new Appli("ADAGIO","ADAGIO","Version 2002","liendoc1","liendoc2"));
this.put("16",new Appli("RESTAUMEN","RESTAUMEN","Version ?","liendoc1","liendoc2"));
this.put("17",new Appli("SELENE","SELENE","Version 2","liendoc1","liendoc2"));
this.put("18",new Appli("CASIMIR","CASIMIR","Version 2002","liendoc1","liendoc2"));
this.put("99",new Appli("PASSWD","CRIA_RAIP","","RAIP",""));
}
}
 
Two questions:

1. Have you tried to find the .class file on the file system? Perhaps it is being generated somewhere other than where you think?

2. Have you imported the Appli class, and can the compiler find the Appli class? The compiler generated an error when I copied your code...

David
 
I don't understand what happened yesterday because now when I compile with javac -classpath, there's no problem.
TabloAppli.class was generated.

Thanks for your advice David

Cathy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top