File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Similar Threads
Import statement problems
How to test servlets?
what package is this from?
how to get the date from the string representation of date
Can not recognize javax.servlet