Manu
Manu

Reputation: 545

Override error with jOOQ 3.9 update

Since I've updated jOOQ to 3.9.0 version and now with 3.9.1 version, I have the following error message in all the generated "Table" classes for the "rename" method:

Error java: method does not override or implement a method from a supertype

/**
* Rename this table
*/
@Override
public CompanyTable rename(String name) {
    return new CompanyTable(name, null);
} 

Is it the normal behavior ? Is there something to do to automatically remove the Override annotation of those "rename" methods ?

Upvotes: 1

Views: 1152

Answers (1)

Lukas Eder
Lukas Eder

Reputation: 221145

The most likely explanation for this is that you're using jOOQ 3.9.x for your code generation but 3.8.x (or a previous version) for compilation.

Be sure to check your classpath for any duplicate references of the jOOQ library with potentially conflicting versions.

Upvotes: 2

Related Questions