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 6576075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:27:59+00:00 2026-05-25T15:27:59+00:00

I made a Dynamic web project in Eclipse using tomcat 7 (and I used

  • 0

I made a Dynamic web project in Eclipse using tomcat 7 (and I used Dynamic web module version 3.0 and JSF 2.0). Now when I had to switch from tomcat 7 to JBoss 4.2.1 it seems there is some kind of compatibility problem because the JBoss doesn’t allow Dynamic web module version 3.0 but 2.5 and JSF 1.2 instead of JSF 3.0 that I used. So when I was trying to deploy my old project in new project that will use JBoss this strange error appeared:

I have this DBManager class that implements 2 interfaces (UserManageable and CategoryManageable). In UserManageable I have a method void doInsert(User user), doUpdate(User), etc. but eclipse tells me there is a mistake and offers 2 solutions: 1st to remove the @Override annotation and 2nd to create doInsert(User) in the other interface. If I remove the other interface it just offers me the 1st solution.

Here are the class and the interfaces.

import jsfDP.interfaces.CategoryManageable;
import jsfDP.interfaces.UserManageable;

public class DBManager implements UserManageable, CategoryManageable{

    @Override
    public void doInsert(User user) {
        // here I get 
        // The method doInsert(User) of type DBManager must override a superclass method
        // 2 quick fixes available: 
        // Create doInsert() in supertype 'CategoryManageable'
        // Remove '@Override' annotation
        ....
    }
    ....
}

Interface UserManageable:

import java.util.List;
import jsfDP.beans.User;

public interface UserManageable {
    void doInsert(User user);
    void doUpdate(User user);
    void doDelete(User user);

    User getUserById(int userId);
    List<Integer> getUserIds();
    List<User> getAllUsersInList();
}

Interface CategoryManageable:

package jsfDP.interfaces;

import java.util.List;
import jsfDP.beans.Category;

public interface CategoryManageable {
    List<Category> getCagegories();

}
  • 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-05-25T15:27:59+00:00Added an answer on May 25, 2026 at 3:27 pm

    If you are running the JBoss with Java 1.5 (and it seems that way), you need to remove the annotation. The @Override annotation for interfaces is a Java 6 and later feature.

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

Sidebar

Related Questions

I am trying to deploy a dynamic web application in eclipse made up of
I have recently made the transition from a Java web developer to a C#
I've got a table which is partially made up of dynamic rows (comes from
I had a project that I've updated from .NET 3.5 MVC v2 to .NET
I made a class from Linq to SQL Clasees with VS 2008 SP1 Framework
I made a Java Applet with some Standard GUI Components on it. I used
I made a class that derives from Component: public class MyComponent: System.ComponentModel.Component { }
I made a code that translate strings to match each word from the array
I made a UIView using Interface Builder with a top bar that has Cancel
i'm helping develop a java jsp jstl based web service and all dynamic objects

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.