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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Pb import" Watch "Pb import" New topic

Pb import

Thomas Maisonneuve

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

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.*;

I agree. Here's the link:
subject: Pb import
jQuery in Action, 3rd edition