java.lang.VerifyError : DOMParser & WSAD

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • abwabe

    #1

    java.lang.VerifyError : DOMParser & WSAD

    im using WSAD 5.0 when i try to execute this :

    public static void main(String[] args) {

    myHash = new Hashtable();

    try {

    String strHtmlFile = "C:\\test.html" ;

    input = new FileInputStream (strHtmlFile);
    DOMParser parser = new DOMParser();

    parser.parse(ne w InputSource(inp ut));
    doc = parser.getDocum ent();


    } catch (Exception se) {
    System.out.prin tln("ExceptionG eneral.");
    System.out.prin tln("CLASS" +se.getClass() +"MSG"+se.getMe ssage());
    }

    }
    I have this error msg :

    java.lang.Verif yError: (class:
    fr/stime/dsi/pilotages/ipsoaop/service/ScreenGenerator , method: main
    signature: ([Ljava/lang/String;)V) Incompatible object argument for
    method call
    Exception in thread "main"

    any suggestions??
Working...