Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot parse with ClassNotFoundException: scala.Int #528

Closed
seoh opened this issue Nov 11, 2017 · 6 comments
Closed

Cannot parse with ClassNotFoundException: scala.Int #528

seoh opened this issue Nov 11, 2017 · 6 comments

Comments

@seoh
Copy link

seoh commented Nov 11, 2017

I made a sbt project(1.0.3, and dont know which verion of config is used) and get an error. but switched to 0.13.16, and it solved. (maybe same issue. sbt/sbt-eclipse#348)

I minimalize a project and tried to reproduct, but cannot figure out any more. in sbt 1.0, I got this error(https://github.com/seoh/bug-FactoryConfig/blob/master/sbt-1.0.log).

but I got an interested case. with sbt 1.0, but it works in IntelliJ. I have no idea which enviroment is different. I need some help to get closed to this problem.

@raboof
Copy link
Contributor

raboof commented Nov 13, 2017

hello @seoh - this does not look like a Typesafe Config problem. Perhaps this might be something to ask on stackoverflow? Are you running from SBT directly, or also using an IDE? Do you get the same problem when you use only sbt? (make sure to 'clean')

@seoh
Copy link
Author

seoh commented Nov 13, 2017

I found two questions(https://stackoverflow.com/q/46813708/2231292, https://stackoverflow.com/q/46982706/2231292) of same problem. And (as I wrote in linked my project) I tried both way of sbt directly and IDE.

@raboof
Copy link
Contributor

raboof commented Nov 13, 2017

Thanks for sharing that example project. I'm pretty confident that it has nothing to do with Typesafe Config, but it's not quite obvious where the problem is, so I'll look into it a bit.

@raboof
Copy link
Contributor

raboof commented Nov 13, 2017

I have boiled it down to https://github.com/raboof/sbt-run-classloading/blob/master/src/main/scala/Main.scala - definitely not a typesafe config issue, but possibly sbt (or akka). I've asked in the sbt gitter channel for starters.

@raboof
Copy link
Contributor

raboof commented Nov 13, 2017

I have opened sbt/sbt#3736

@seoh
Copy link
Author

seoh commented Nov 13, 2017

I dont know how config works in sbt and I am not sure for same issue, but same exception at same source file and line. Thanks for your effort. I close this issue and keep tracking sbt issue.

@seoh seoh closed this as completed Nov 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants