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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:54:01+00:00 2026-06-08T17:54:01+00:00

Using the Play 2.0.2 framework, I’m encountering a classloader conflict. Looks like there are

  • 0

Using the Play 2.0.2 framework, I’m encountering a classloader conflict. Looks like there are two definitions of the same class in different classloaders. The console runs, but when i issue the ‘run’ command, play responds with:

java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "play.api.PlayException.cause()Lscala/Option;" 
the class loader (instance of sbt/PlayCommands$$anonfun$61$$anonfun$63$$anon$2) of the current class, play/api/PlayException, 
and the class loader (instance of java/net/URLClassLoader) for interface
play/api/PlayException$UsefulException have different Class objects for the 
type scala/Option used in the signature

Anyone have a good place to start debugging this? Or some idea why this is occuring? Clearly the class is being loaded by different loaders, but I’m not familiar with the play loader configuration.

I have scala & sbt installed using port

sbt @0.11.2_0 (active)
scala2.9 @2.9.2_0 (active)

My PATH has play before the port binaries.

Using Java

java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-10M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)

Running Snow Leopard

  • 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-08T17:54:02+00:00Added an answer on June 8, 2026 at 5:54 pm

    Turns out the port sbt had created a ~/.sbt directory and that configuration is preferred. Removing / moving that directory to something else solves the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using play framework 1.2.4 with scala. I have few play jobs that looks like
Is there any better way to handle Exceptions using Play framework apart from what
I am using Play Framework 1.2.4 with PostgreSQL and JPA . I would like
How can I join two tables by using java play framework and jpa, I
Using Play Framework, you can do something like this: public static void mymethod() {
I'm using Play Framework, and have the following code: import org.hibernate.exception.ConstraintViolationException; ... public class
I'm using Play framework. I have a JSONObject which has a structure like the
Let's say I have a Student entity like this implemented using the Play Framework's
I was building a class using play framework 1.2.x . I have a Controller
I am using Play Framework 2.0 with Scala. So I have an action that

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.