This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Pb import Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Pb import" Watch "Pb import" New topic
Author

Pb import

Thomas Maisonneuve
Greenhorn

Joined: Jun 02, 2004
Posts: 3
Hi everybody,

I want to compile my Java class and i've got problem whith import.
Here's my error message:

*** Semantic Error: The import "org/jboss/security/SimpleGroup" is not valid, since it does not name a type in a package.

Please help me

Thanks.
Ben Buchli
Ranch Hand

Joined: Mar 26, 2004
Posts: 83
Hi, can you please post your code, or at least the import statement?
It looks like your import statement may be screwed up.
an example of a correct import statement is:

import javax.swing.*;

Ben
 
 
subject: Pb import