This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Import statement problems Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Import statement problems" Watch "Import statement problems" New topic
Author

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
Sheriff

Joined: Oct 13, 2005
Posts: 32835
    
    4
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
 
Similar Threads
JavaBean not instantiating
Version problem with com.opensymphony.xwork2 49
Type Conversion Problem
java.lang.ClassNotFoundException: javax.ejb.EJBHome
java.lang.NoSuchMethodError: com.opensymphony.xwork2.ActionContext.get(Ljava/lang/Object;)Ljava/lang