Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4 error when trying to run Jaxe

closed-works-for-me
nobody
None
5
2002-12-13
2002-11-25
Noel Golding
No

When using the default XHTML files in config dir I
receive the following error message.

---- ERROR ----
Exception in thread "main" java.lang.VerifyError:
(class: org/apache/xerces/dom/
CoreDocumentImpl, method: <init> signature:
(Lorg/w3c/dom/DocumentType;Z)V) Incompatible
type for getting or setting field
at jaxe.JaxeDocument.nouveau(JaxeDocument.java:92)
at jaxe.Jaxe.initNew(Jaxe.java:436)
at jaxe.Jaxe.<init>(Jaxe.java:279)
at jaxe.Jaxe.main(Jaxe.java:1074)

---- COMMAND ----
java -classpath
Jaxe.jar;xerces.jar;xalan.jar;jakarta-regexp-1.2.jar
jaxe/Jaxe config\XHTML_Jaxe_cfg.xml

---- JVM ----
java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)

---- JAXE VER ----
1.3.1

---- OS ----
Windows 98

Discussion

  • Noel Golding
    Noel Golding
    2002-11-26

    Logged In: YES
    user_id=656526

    It seems that I get the same error message using ver 1.3 or
    1.2.1, also it is with any config file, not just the XHTML. I
    have not tried to create a config file of my own to test.

     
  • Logged In: YES
    user_id=56791

    This error means that your JVM is using another DOM API than the one provided by xerces, despite the java command explicitly requesting the use of the xerces.jar file provided. Could you check your CLASSPATH environment variable and see if there is another jar file causing a conflict ?

     
  • Logged In: NO

    I did have another version of XERCES in my ext directory. I
    removed it and it appears to be working properly now.

    Thank you
    Noel

     
  • Noel Golding
    Noel Golding
    2002-12-12

    Logged In: YES
    user_id=656526

    I did have another version of XERCES in my ext directory. I
    removed it and it appears to be working properly now.

    Thank you
    Noel

     
  • Logged In: YES
    user_id=56791

    OK, I assume it's working with a default configuration, and I close the bug as "works for me".

     
    • status: open --> closed-works-for-me