aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Error: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse Error: "Syntax error on tokens, Expression expected instead"" Watch "Eclipse Error: "Syntax error on tokens, Expression expected instead"" New topic
Author

Eclipse Error: "Syntax error on tokens, Expression expected instead"

M Littlejohn
Greenhorn

Joined: Aug 13, 2010
Posts: 4

Error @ Line 07; "new Vector<String>"

Can someone explain to me what this error is and why I'm getting it please? I know it'll be some rookie mistake.
I changed this code from constructing the new Vector at compile-time to constructing the Vector during run-time.

Is this a bad idea, are there better ways of doing this?

Cheers,

M
M Littlejohn
Greenhorn

Joined: Aug 13, 2010
Posts: 4
I am an idiot...
I apologise for wasting the last minute of your life.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

(While to some of us it's obvious you're missing some parentheses, for the sake of those that might have a similar problem, it's good to also follow up with what the problem was. But glad you got it worked out :)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse Error: "Syntax error on tokens, Expression expected instead"