Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Import statement problems

 
shaf maff
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys
I am trying to compile my action class and it keeps giving me this error:



Here is the code:

 
shaf maff
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have fixed it. I simply need to add each bean in its own line (i.e. bean.bean1; bean.bean2;) etc
 
Campbell Ritchie
Sheriff
Pie
Posts: 50241
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An import statement must have a package name in. import package_name.ClassName; or import package_name.*; or import static package_name.ClassName.*; or import static package_name.ClassName.member;
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic