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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:15:32+00:00 2026-06-10T00:15:32+00:00

I am trying to call the constructor for PagedResultList: def result = new PagedResultList(list:

  • 0

I am trying to call the constructor for PagedResultList:

def result = new PagedResultList(list: q, totalCount:q.size())

where q is my ArrayList but i get an error saying unable to resolve class. I thought the PagedResultList class was in the grails library, so why am I getting this error. I’m running grails 1.3.7

  • 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-06-10T00:15:33+00:00Added an answer on June 10, 2026 at 12:15 am

    You need an import – there are no extra automatically-imported packages or classes in Grails other than what Groovy supports:

    import grails.orm.PagedResultList
    

    Also your map constructor won’t work since the class has a real paramaterized constructor; you’ll need to do this:

    def result = new PagedResultList(q, q.size())
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to call an accessor function in a copy constructor but it's not
I'm trying to call an overriden property from a base constructor but I'm receiving
I m trying to call an object constructor into a runnable but Eclipse return
here I am trying to call overloaded constructor after some condition has met in
While refactoring some code, I came across this strange compile error: The constructor call
While trying to make a regular constructor to constructor call in the same class
I'm trying to create a constructor for a custom type, but for some reason,
I'm trying to call my function as a function slot in Qt,But i don't
I'm trying to call explicit constructor/destructor with traits in templatized function. template <int i>
I'm trying to call the constructor of class B from class A by passing

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.