This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
It's not a secret anymore!