Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: ClassNotFoundException while executing XQuery using Java

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    2
    My Mood
    Relaxed
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ClassNotFoundException while executing XQuery using Java

    Hi All,

    I am validating an xml file using XQuery in Java using XQJ API. When the query is triggered it is giving the ClassNotFoundException for orai18n.text.OraCollator. I have placed the orai18n-collation.jar file in MANIFEST.MF file and it is loaded in to the class path.

    Not sure on why it is giving the exception.

    The JDK i am using JDK1.7 and application server is weblogic.

    Please help me in resolving the issue.


  2. #2
    Member
    Join Date
    Feb 2011
    Posts
    33
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default Re: ClassNotFoundException while executing XQuery using Java

    I'm guessing the missing class is actually oracle.orai18n.text.OraCollator? How is this application packaged? WAR, JAR, etc?


    All intelligent thoughts have already been thought;
    what is necessary is only to try to think them again.



  3. #3
    Junior Member
    Join Date
    Aug 2014
    Posts
    2
    My Mood
    Relaxed
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: ClassNotFoundException while executing XQuery using Java

    Quote Originally Posted by WhiteSoup12 View Post
    I'm guessing the missing class is actually oracle.orai18n.text.OraCollator? How is this application packaged? WAR, JAR, etc?
    The class oracle.i18n.text.OraCollator is included in orai18n-collation.jar file.
    The application is packaged as JAR.

    Thanks,
    yousuf.

Similar Threads

  1. [SOLVED] Executing cmd from Java, Compiling and Executing IN Runtime
    By Andrew R in forum What's Wrong With My Code?
    Replies: 6
    Last Post: August 9th, 2013, 10:00 AM
  2. how to execute Xquery-Functions in java????
    By shobanakannan in forum What's Wrong With My Code?
    Replies: 0
    Last Post: February 4th, 2013, 01:27 AM
  3. Data Structure or API for XQuery
    By ur2cdanger in forum Java Theory & Questions
    Replies: 1
    Last Post: November 26th, 2012, 05:53 PM
  4. glassfish ClassNotFoundException java.lang.ClassNotFoundException: ...
    By enginco in forum JavaServer Pages: JSP & JSTL
    Replies: 2
    Last Post: June 18th, 2012, 12:18 PM
  5. Replies: 15
    Last Post: June 22nd, 2011, 07:47 PM