play.sbt.PlayExceptions$CompilationException: Compilation error[no suitable method found for select(models.QMember) method com.querydsl.jpa.impl.JPAQuery.<U>select(com.querydsl.core.types.Expression<U>) is not applicable (cannot infer type-variable(s) U (argument mismatch; models.QMember cannot be converted to com.querydsl.core.types.Expression<U>)) method com.querydsl.jpa.impl.JPAQuery.select(com.querydsl.core.types.Expression<?>...) is not applicable (varargs mismatch; models.QMember cannot be converted to com.querydsl.core.types.Expression<?>)]

Stack Overflow | jkratz55 | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and rp . Or join the community to write better ones.
  1. 0
    samebug tip
    BugmateHits had no serialization method.
  2. 0
    samebug tip
    Import these into your controller: import play.api.Play.current import play.api.i18n.Messages.Implicits._
  3. 0

    QueryDSL no suitable method found for select

    Stack Overflow | 8 months ago | jkratz55
    play.sbt.PlayExceptions$CompilationException: Compilation error[no suitable method found for select(models.QMember) method com.querydsl.jpa.impl.JPAQuery.<U>select(com.querydsl.core.types.Expression<U>) is not applicable (cannot infer type-variable(s) U (argument mismatch; models.QMember cannot be converted to com.querydsl.core.types.Expression<U>)) method com.querydsl.jpa.impl.JPAQuery.select(com.querydsl.core.types.Expression<?>...) is not applicable (varargs mismatch; models.QMember cannot be converted to com.querydsl.core.types.Expression<?>)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Play Framework For Scala: Compilation error[type Application is not a member of package controllers]

    Stack Overflow | 2 years ago | user4955663
    play.sbt.PlayExceptions$CompilationException: Compilation error[type Application is not a member of package controllers]
  6. 0

    GitHub comment 21#125364296

    GitHub | 2 years ago | siderakis
    play.sbt.PlayExceptions$CompilationException: Compilation error[class A is not a case class nor a case object]

  1. rp 3 times, last 2 months ago
  2. richard77 19 times, last 3 months ago
  3. balintn 111 times, last 2 months ago
  4. silex 352 times, last 4 months ago
  5. poroszd 36 times, last 2 months ago
1 more registered users
10 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. play.sbt.PlayExceptions$CompilationException

    Compilation error[no suitable method found for select(models.QMember) method com.querydsl.jpa.impl.JPAQuery.<U>select(com.querydsl.core.types.Expression<U>) is not applicable (cannot infer type-variable(s) U (argument mismatch; models.QMember cannot be converted to com.querydsl.core.types.Expression<U>)) method com.querydsl.jpa.impl.JPAQuery.select(com.querydsl.core.types.Expression<?>...) is not applicable (varargs mismatch; models.QMember cannot be converted to com.querydsl.core.types.Expression<?>)]

    at play.sbt.PlayExceptions$CompilationException$.apply()
  2. play.sbt
    PlayExceptions$CompilationException$.apply
    1. play.sbt.PlayExceptions$CompilationException$.apply(PlayExceptions.scala:27)
    2. play.sbt.PlayExceptions$CompilationException$.apply(PlayExceptions.scala:27)
    2 frames
  3. Scala
    Option.map
    1. scala.Option.map(Option.scala:145)
    1 frame
  4. play.sbt.run
    PlayReload$$anonfun$taskFailureHandler$1.apply
    1. play.sbt.run.PlayReload$$anonfun$taskFailureHandler$1.apply(PlayReload.scala:49)
    2. play.sbt.run.PlayReload$$anonfun$taskFailureHandler$1.apply(PlayReload.scala:44)
    2 frames
  5. Scala
    Option.map
    1. scala.Option.map(Option.scala:145)
    1 frame
  6. play.sbt.run
    PlayReload$$anonfun$compile$1.apply
    1. play.sbt.run.PlayReload$.taskFailureHandler(PlayReload.scala:44)
    2. play.sbt.run.PlayReload$.compileFailure(PlayReload.scala:40)
    3. play.sbt.run.PlayReload$$anonfun$compile$1.apply(PlayReload.scala:17)
    4. play.sbt.run.PlayReload$$anonfun$compile$1.apply(PlayReload.scala:17)
    4 frames