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

  • SEARCH
  • Home
  • 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 9030761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:34:14+00:00 2026-06-16T07:34:14+00:00

I have been having a lot of trouble using an external JAR, GPars, in

  • 0

I have been having a lot of trouble using an external JAR, GPars, in an IntelliJ Grails project. I think it is a problem with specifying the dependency. I am using GPars-1.0.0. I saved it in the lib directory and included it as a dependency using the IntelliJ GUI– Project Structure -> Module -> Add. I synchronized. I also tried adding directly to BuildConfig.groovy:

dependencies {
    compile 'org.codehaus.gpars:gpars:1.0.0'
}

I get Code Assist when typing and it compiles. But when I run the following:

import static groovyx.gpars.*

...

GParsPool.withPool {
     [1, 2, 3, 4, 5].eachParallel { println it }
}

I get ClassNotFoundException Message jsr166y.ForkJoinPool for the statement “GParsePool.withPool”

Line | Method 
->>  156 | findClass                 in org.codehaus.groovy.tools.RootLoader
|    306 | loadClass                 in java.lang.ClassLoader
|    128 | loadClass . . . . . . . . in org.codehaus.groovy.tools.RootLoader
|    247 | loadClass                 in java.lang.ClassLoader
|   2427 | privateGetDeclaredMethods in java.lang.Class
|   1791 | getDeclaredMethods        in     ''
|     46 | getLocked . . . . . . . . in org.codehaus.groovy.util.LazyReference
|     33 | get                       in     ''
|     80 | load . . . . . . . . . .  in allison.zipcode.ZipcodeService$$ENsSBrUW
|     30 | load                      in allison.zipcode.CountryController
|    195 | doFilter . . . . . . . .  in grails.plugin.cache.web.filter.PageFragmentCachingFilter
|     63 | doFilter                  in grails.plugin.cache.web.filter.AbstractFilter
|    886 | runTask . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
|    908 | run                       in     ''
^    680 | run . . . . . . . . . . . in java.lang.Thread

Any ideas? Did I specify the dependency correctly in BuildConfig? My code example may be wrong but it seems to follow this example.

  • 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-16T07:34:15+00:00Added an answer on June 16, 2026 at 7:34 am

    Figured it out: I hadn’t included jsr166y.jar

    compile "org.codehaus.jsr166-mirror:jsr166y:1.7.0"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been having a lot of trouble with this problem. I have a listview
I have been having the following problem, i think it's probably due to the
I have been having some trouble with matplotlib since I started using python. When
I have been having a lot of trouble getting cocotron to create a simple
I have been having a lot of trouble figuring out how I can access
Why I am asking I have been having a lot of trouble understanding the
Lately we been having a lot of problems with our mysql server i have
I have been having trouble pulling up a custom UIPickerView from the textfield's inputview
I have been having this annoying problem when trying to implement a picture gallery
I have been having trouble with opening files with ifstream if I do: ifstream

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.