- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
"Syntax error on tokens, ClassHeader expected instead" with latest eclipse nightly
Here's the entire scala file(in fact, it's the entire program so far...)
package org.thecoda.finance
object Main { def main(args : Array[String]) : Unit = {} }
And that error is occuring on line 1 (the package specifier)I also get syntax errors against `String` and `:`I'm running eclipse 3.5.1 against java 1.6.0_17 on OSX snow leopard
Any ideas?
--
Kevin Wright
mail/google talk: kev [dot] lee [dot] wright [at] googlemail [dot] com
wave: kev [dot] lee [dot] wright [at] googlewave [dot] com
skype: kev.lee.wright
twitter: @thecoda
package org.thecoda.finance
object Main { def main(args : Array[String]) : Unit = {} }
And that error is occuring on line 1 (the package specifier)I also get syntax errors against `String` and `:`I'm running eclipse 3.5.1 against java 1.6.0_17 on OSX snow leopard
Any ideas?
--
Kevin Wright
mail/google talk: kev [dot] lee [dot] wright [at] googlemail [dot] com
wave: kev [dot] lee [dot] wright [at] googlewave [dot] com
skype: kev.lee.wright
twitter: @thecoda










Re: "Syntax error on tokens, ClassHeader expected instead" wit
On Fri, Jan 8, 2010 at 1:01 PM, Kevin Wright
wrote:
> Here's the entire scala file
> (in fact, it's the entire program so far...)
>
> package org.thecoda.finance
> object Main {
> def main(args : Array[String]) : Unit = {}
> }
>
> And that error is occuring on line 1 (the package specifier)
> I also get syntax errors against `String` and `:`
> I'm running eclipse 3.5.1 against java 1.6.0_17 on OSX snow leopard
> Any ideas?
That's an error from the Java compiler (I expect you can see "Java
Problem" next to it in the Problems View, so it looks like your
installation is messed up somehow.
Cheers,
Miles
Re: "Syntax error on tokens, ClassHeader expected instead" wit
2010/1/8 Miles Sabin <miles [at] milessabin [dot] com>
--
Kevin Wright
mail/google talk: kev [dot] lee [dot] wright [at] googlemail [dot] com
wave: kev [dot] lee [dot] wright [at] googlewave [dot] com
skype: kev.lee.wright
twitter: @thecoda
Re: "Syntax error on tokens, ClassHeader expected instead" wit
I followed the instructions here:http://wiki.eclipse.org/JDT_weaving_features
according to the plug-in registry view, weaving is enabled the bundles.info file says the same thing
but the UI under preferences continues to tell me that weaving is DISABLED
Got some serious head-scratching now taking place
2010/1/8 Kevin Wright <kev [dot] lee [dot] wright [at] googlemail [dot] com>
--
Kevin Wright
mail/google talk: kev [dot] lee [dot] wright [at] googlemail [dot] com
wave: kev [dot] lee [dot] wright [at] googlewave [dot] com
skype: kev.lee.wright
twitter: @thecoda