Java DebugConnectionWrapper failing

Posted on 2014-08-26
Last Modified: 2014-09-06
I'm trying to build this project and I get 5 similar errors.  The DebugConnectionWrapper must override or im;ement a "supertype" method.  Could you suggest where I could start looking at the cause of this errors?
supertype method
It could be caused by the fact that these methods are not completed and it throws the SQL Exception;
      public int getNetworkTimeout() throws SQLException {
            // TODO Auto-generated method stub
            return 0;

Or that it needs a db connection; "persist\db\connect
Question by:chima
    LVL 35

    Accepted Solution

    It could be caused by the fact that these methods are not completed and it throws the SQL Exception;
    Or that it needs a db connection; "persist\db\connect
    No, nothing to do with that at all. The error message is saying that you have placed the @Override annotation on those methods but there is no method in the class that this DebugConnectionWrapper extends from (or implements) by the same name and signature.

    Why is the @Override annotation there? Did you put it there? Or copied and pasted from another method that DOES actually override a supertype's method?

    Or did Eclipse generate these methods for you and then you changed their names/parameters or what the class extends/implements so that they are no longer overriding the supertype methods?

    Author Comment

    mccarl, thank you for your response.  To answer your questions; it is not my code (I test code), but I am getting started with eclipse and checked out these code from SVN.  I'll ask "your questions" from the developers :(
    Once again thanks

    Author Closing Comment

    LVL 35

    Expert Comment

    Not a problem, glad to help!

    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Increment alphanumeric sequence 6 58
    nestparen challenge 4 37
    json format text only 4 51
    Unable to start eclipse ? 17 50
    This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
    Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
    Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
    This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

    745 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

    15 Experts available now in Live!

    Get 1:1 Help Now