java.lang.VerifyError: (class: org/xmlsec/xmlac/UserGroupReposit


Web tier: servlets, JSP, Web frameworks: java.lang.VerifyError: (class: org/xmlsec/xmlac/UserGroupReposit

  1. I am getting this error when I am running my application. My application uses XML.
    This is line of the code where I am encountering this error.
    UserRepository ugRepository =

    I believe there is some conflict eveloving with some xml...jar files! Am I right?

    Waiting in anticipation,

    -- Vishnu

    <Apr 29, 2003 12:45:32 PM CDT> <Error> <HTTP> <101017> <[ServletContext(id=17181
    21,name=DefaultWebApp,context-path=)] Root cause of ServletException
    java.lang.VerifyError: (class: org/xmlsec/xmlac/UserGroupRepository, method: get
    Instance signature: (Ljava/io/File;)Lorg/xmlsec/xmlac/UserGroupRepository;) Inco
    mpatible object argument for function call
            at Cmps565.docToHtml2.docToHtmlMain(
            at Cmps565.Login2.doGet(
            at javax.servlet.http.HttpServlet.service(
            at javax.servlet.http.HttpServlet.service(
            at weblogic.servlet.internal.ServletStubImpl$
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
            at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
            at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
            at weblogic.kernel.ExecuteThread.execute(
  2. This occurs when the class being loaded cannot be verified by the class loader. The library may have been compilied in a higher / lower version of the jdk and your JVM running your version of the jdk has problems dealing with it.

    Try to get the library and your enviorments in sync.

    You can use the -noverify in the command line arguments to see if that solves your problem

  3. thanx[ Go to top ]

    Thanx raghu for the help i cud find the answer to my problem