Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8639651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:04:22+00:00 2026-06-12T11:04:22+00:00

I was in execution of a java program in order to extract XML files.I

  • 0

I was in execution of a java program in order to extract XML files.I received this Run Time Exception when i ran my java program. Please Suggest

During Compilation

This is the compile time error which i got

” GenerateInvoice.java:57: package com.ociweb.xml does not exist
import com.ociweb.xml.Version;
^
GenerateInvoice.java:58: package com.ociweb.xml does not exist
import com.ociweb.xml.WAX;
^
GenerateInvoice.java:69: package com.ociweb.xml does not exist
import com.ociweb.xml.WAX;
^
GenerateInvoice.java:73: cannot resolve symbol
symbol : class WAX
location: class GenerateInvoice
WAX waxDoc = null;
^
GenerateInvoice.java:453: cannot resolve symbol
symbol : class WAX
location: class GenerateInvoice
waxDoc = new WAX(“/u01/Output/report/gen_xml/work/” + DIR_NAME + “/” + file_name + “_invoice.xml”, Version.V1_0);
^
GenerateInvoice.java:453: cannot resolve symbol
symbol : variable Version
location: class GenerateInvoice
waxDoc = new WAX(“/u01/Output/report/gen_xml/work/” + DIR_NAME + “/” + file_name + “_invoice.xml”, Version.V1_0);
“

Then i added a package “wax14_1.0.4.jar”. After Running :

Exception in thread "main" java.lang.NoSuchMethodError: 
    java.util.regex.Pattern.quote(Ljava/lang/String;)Ljava/lang/String;
        at com.ociweb.xml.XMLUtil.<clinit>(XMLUtil.java:83)
        at com.ociweb.xml.ElementMetadata.buildQualifiedName(ElementMetadata.java:155)
        at com.ociweb.xml.ElementMetadata.<init>(ElementMetadata.java:136)
        at com.ociweb.xml.WAX.start(WAX.java:829)
        at com.ociweb.xml.WAX.start(WAX.java:816)
        at com.ociweb.xml.WAX.start(WAX.java:803)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T11:04:23+00:00Added an answer on June 12, 2026 at 11:04 am

    According to the doc (http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html), that method is available since 1.5. Check if you are running an environment < 1.5. If that’s the case, you must use Retroweaver, as explained in the project main page (https://code.google.com/p/waxy/).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do you time the execution of a java program? I'm not sure what
I get the following error when I run a java program: Exception in thread
I developed a sample mail program in Java. While sending mail, it throws exception
My program crashes due to a null pointer exception. Snip of Stack Trace: java.lang.NullPointerException
How can I call HttpServletReponse from JBPM execution context. This is because delegated java
I have implemented a java program . This is basically a multi threaded service
I have some queries being run in a java program that makes use of
I am developing a java project in eclipse. In order to distribute the program
I'm developing a program with java where I have some sql sentences, this one:
I'm able to run a program from the commmand line by typing java main

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.