question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No suitable method found for eq(java.lang.String)

See original GitHub issue

hello,

while compiling, i am getting the issue:

[ERROR] PATH/sql-to-jdl-master/src/main/java/org/blackdread/sqltojava/repository/InformationSchemaRepository.java:[53,60] no suitable method found for eq(java.lang.String)
[ERROR]     method org.jooq.Field.eq(byte[]) is not applicable
[ERROR]       (argument mismatch; java.lang.String cannot be converted to byte[])
[ERROR]     method org.jooq.Field.eq(org.jooq.Field<byte[]>) is not applicable
[ERROR]       (argument mismatch; java.lang.String cannot be converted to org.jooq.Field<byte[]>)
[ERROR]     method org.jooq.Field.eq(org.jooq.Select<? extends org.jooq.Record1<byte[]>>) is not applicable
[ERROR]       (argument mismatch; java.lang.String cannot be converted to org.jooq.Select<? extends org.jooq.Record1<byte[]>>)
[ERROR]     method org.jooq.Field.eq(org.jooq.QuantifiedSelect<? extends org.jooq.Record1<byte[]>>) is not applicable
[ERROR]       (argument mismatch; java.lang.String cannot be converted to org.jooq.QuantifiedSelect<? extends org.jooq.Record1<byte[]>>)

all the entities were generated successfully, but it fails only on that and does not generate the .jdl file.

can you help me?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Blackdreadcommented, Nov 3, 2019

Have not tested on mysql 8.0 but issue here is mainly that either:

  • mysql is not running on pc

  • wrong username/pass or url

  • user did not run mvn compile

0reactions
khairmuhammad-hhcommented, Apr 5, 2022

Have not tested on mysql 8.0 but issue here is mainly that either:

  • mysql is not running on pc
  • wrong username/pass or url
  • user did not run mvn compile

mvn compile solved my issue. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

"no suitable method found" while trying to implement a custom ...
This means that the data type of your parameter is INTEGER , not OTHER . So your binding cannot be of type Binding<Any,...
Read more >
JDK-8051443 Bogus "no suitable method found" error ... - Bug ID
The error reported is: "no suitable method found", but the 8u11 compiler find a the correct method and the code runs as expected....
Read more >
Bug descriptions — spotbugs 4.7.3 documentation
Eq : Covariant equals() method defined (EQ_SELF_NO_OBJECT)¶. This class defines a covariant version of equals() . To correctly override the equals() method in ......
Read more >
Objects (Java Platform SE 8 ) - Oracle Help Center
This class consists of static utility methods for operating on objects. These utilities include null -safe or null -tolerant methods for computing the...
Read more >
Bogus "no suitable method found" error from javac
FULL PRODUCT VERSION : java version "1.8.0_20-ea" Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b23) Java HotSpot(TM) 64-Bit Server VM (build 25.20-b22 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found