Bonjour,
je compile mon programme sans difficulté... sauf que rendu à l'exécution je ne peux rien faire car il me plante une erreur
exception in thread "main" java.lang.nosuchmethoderror : main..
public void main(String args[]) throws Erreur
{
try
{
try
{
File outputFile = new File("farrago.txt");
FileWriter out = new FileWriter(outputFile);
out.write(ENTETE_PAGE_0 + SAUT_LIGNE);
out.write(ENTETE_PAGE_1 + SAUT_LIGNE);
out.write(ENTETE_PAGE_2 + SAUT_LIGNE);
out.write(PIED_PAGE_0 + SAUT_LIGNE);
}
catch(IOException e)
{
System.out.println(e);
System.exit(1);
}
}
catch(NoSuchMethodError e)
{
System.out.println(e);
}
}
merci
mousekey
Configuration: windows xp
textepad
jbuilder