Provider not found

Posted on 2006-05-23
Last Modified: 2008-02-01

Sorry to come back.

I set the class path as follows XMLBEANDIR C:\tech\struts\Contribution\lib\xbean.jar;
Here below the code

public class main
   public  static void  main (String  [ ] args) throws IOException,  XMLStreamException
     String nick = "neliw";
     String file = "neliw";
        ContsProcessor processor = new ContsProcessor (nick);
        // Use the reference implementation for the XML input factory
       // Create the XML input factory
     XMLInputFactory factory = XMLInputFactory.newInstance();
         // Create the XML event reader
      FileReader reader = new FileReader(file);
     XMLStreamReader r =    factory.createXMLStreamReader (reader);
        ForumDocument doc = processor.parseDocument (r);
        System.out.println (doc);
Question by:Eugenio_Magnone
    1 Comment
    LVL 6

    Accepted Solution

    Please check your classpath if is included

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
    This video teaches viewers about errors in exception handling.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now