wood burning stoves 2.0
The moose likes Beginning Java and the fly likes Import statement problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Import statement problems" Watch "Import statement problems" New topic

Import statement problems

shaf maff
Ranch Hand

Joined: Sep 07, 2008
Posts: 180
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

Joined: Sep 07, 2008
Posts: 180
I have fixed it. I simply need to add each bean in its own line (i.e. bean.bean1; bean.bean2;) etc
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 44464
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;
I agree. Here's the link: http://aspose.com/file-tools
subject: Import statement problems
jQuery in Action, 3rd edition