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
Class scala.StringBuilder missing in the 2.8.1 downloads #4113
Comments
Imported From: https://issues.scala-lang.org/browse/SI-4113?orig=1 |
@paulp said: |
Ashish Belagali (ab) said: $$ jar -tvf /home/ashish/prg/scala/lib/scala-library.jar | grep StringBuilder This makes me believe that the class was moved to another package. However, even after I import the class from its new location, the + function still seems to expect to find it in the scala package, and gives error. Am I missing something here? |
@ijuma said: |
Ashish Belagali (ab) said: If I were incorrectly compiling with 2.7.7 as you say then I would not have come across the error in the first place. As I had said before, the class is seen packaged in different folders in 2.8.1 version and in 2.7.7 version. Please consider the following: $$ /home/ashish/prg/scala/bin/scala -version // The one below is 2.7.7 in Eclipse plugin Hope this helps. |
@paulp said: |
=== What steps will reproduce the problem (please be specific and use wikiformatting)? ===
I downloaded scala 2.8.1 from the download page.
On a code where I do string1 + string2 an exception is thrown: java.lang.NoClassDefFoundError: scala/StringBuilder
=== What is the expected behavior? ===
The exception should not be thrown.
=== What do you see instead? ===
Exception thrown is unexpected.
=== Additional information ===
(for instance, a link to a relevant mailing list discussion)
I checked that the jar scala-library.jar does not contain the relevant class file. (I could find this class in 2.7.7 build that came with Eclipse plugin.)
Attaching scala-library.jar along with.
=== What versions of the following are you using? ===
The text was updated successfully, but these errors were encountered: