import.org.eclipse.swt.doesnot exist

beeshma r beeshma48 at gmail.com
Thu Feb 11 14:55:11 UTC 2010


 Hi i am beeshma .computer scince student from india

i have finished my project .when compilation it shows some package errors
that means
package org.eclipse.swt.events doesnot exist .i have set all nessacery steps
in eclipse! But no use?
i have only error like this .

i have attached my commandprompt copy.....
what steps should i do to solve this problem.?
what are the steps i should do in eclipse(settings)?
please explain step by step.
-------------- next part --------------
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:20: package org.eclipse.swt.events does not exist
    [javac] import org.eclipse.swt.events.SelectionAdapter;
    [javac]                              ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:21: package org.eclipse.swt.events does not exist
    [javac] import org.eclipse.swt.events.SelectionEvent;
    [javac]                              ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:22: package org.eclipse.swt.layout does not exist
    [javac] import org.eclipse.swt.layout.GridData;
    [javac]                              ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:23: package org.eclipse.swt.layout does not exist
    [javac] import org.eclipse.swt.layout.GridLayout;
    [javac]                              ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:24: package org.eclipse.swt.layout does not exist
    [javac] import org.eclipse.swt.layout.RowData;
    [javac]                              ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:25: package org.eclipse.swt.layout does not exist
    [javac] import org.eclipse.swt.layout.RowLayout;
    [javac]                              ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:26: package org.eclipse.swt.widgets does not exist

    [javac] import org.eclipse.swt.widgets.Button;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:27: package org.eclipse.swt.widgets does not exist

    [javac] import org.eclipse.swt.widgets.Combo;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:28: package org.eclipse.swt.widgets does not exist

    [javac] import org.eclipse.swt.widgets.Composite;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:29: package org.eclipse.swt.widgets does not exist

    [javac] import org.eclipse.swt.widgets.Event;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:30: package org.eclipse.swt.widgets does not exist

    [javac] import org.eclipse.swt.widgets.Group;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:31: package org.eclipse.swt.widgets does not exist

    [javac] import org.eclipse.swt.widgets.Label;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:32: package org.eclipse.swt.widgets does not exist

    [javac] import org.eclipse.swt.widgets.Listener;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:33: package org.eclipse.swt.widgets does not exist

    [javac] import org.eclipse.swt.widgets.TabFolder;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:34: package org.eclipse.swt.widgets does not exist

    [javac] import org.eclipse.swt.widgets.TabItem;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:35: package org.eclipse.swt.widgets does not exist

    [javac] import org.eclipse.swt.widgets.Text;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\SelectFetchersDialog.java:18: package org.eclipse.swt does not exist
    [javac] import org.eclipse.swt.SWT;
    [javac]                       ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\SelectFetchersDialog.java:19: package org.eclipse.swt.graphics does not e
xist
    [javac] import org.eclipse.swt.graphics.Rectangle;
    [javac]                                ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\SelectFetchersDialog.java:20: package org.eclipse.swt.layout does not exi
st
    [javac] import org.eclipse.swt.layout.FormAttachment;
    [javac]                              ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\SelectFetchersDialog.java:21: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Button;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\SelectFetchersDialog.java:22: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Display;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\SelectFetchersDialog.java:23: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Event;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\SelectFetchersDialog.java:24: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Label;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\SelectFetchersDialog.java:25: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.List;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\SelectFetchersDialog.java:26: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Listener;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\SelectFetchersDialog.java:27: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Shell;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\actions\HelpMenuActions.java:88: cannot find symbol
    [javac] symbol  : class Listener
    [javac] location: class net.azib.ipscan.gui.actions.HelpMenuActions
    [javac]     public static final class CheckVersion implements Listener {
    [javac]                                                       ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src-platform\mac\
net\azib\ipscan\platform\mac\MacApplicationMenu.java:66: cannot find symbol
    [javac] symbol  : class Display
    [javac] location: class net.azib.ipscan.platform.mac.MacApplicationMenu
    [javac]     public void hookApplicationMenu(final Display display) {
    [javac]                                           ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\AbstractModalDialog.java:33: cannot find symbol
    [javac] symbol  : class Shell
    [javac] location: class net.azib.ipscan.gui.AbstractModalDialog
    [javac]     protected Shell shell;
    [javac]               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\AbstractModalDialog.java:102: cannot find symbol
    [javac] symbol  : class Button
    [javac] location: class net.azib.ipscan.gui.AbstractModalDialog
    [javac]     protected void positionButtons(Button okButton, Button cancelBut
ton) {
    [javac]                                    ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\AbstractModalDialog.java:102: cannot find symbol
    [javac] symbol  : class Button
    [javac] location: class net.azib.ipscan.gui.AbstractModalDialog
    [javac]     protected void positionButtons(Button okButton, Button cancelBut
ton) {
    [javac]                                                     ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\AbstractModalDialog.java:139: cannot find symbol
    [javac] symbol  : class Button
    [javac] location: class net.azib.ipscan.gui.AbstractModalDialog
    [javac]     protected void positionButtonsInFormLayout(Button okButton, Butt
on cancelButton, Control control) {
    [javac]                                                ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\AbstractModalDialog.java:139: cannot find symbol
    [javac] symbol  : class Button
    [javac] location: class net.azib.ipscan.gui.AbstractModalDialog
    [javac]     protected void positionButtonsInFormLayout(Button okButton, Butt
on cancelButton, Control control) {
    [javac]                                                                 ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\AbstractModalDialog.java:139: cannot find symbol
    [javac] symbol  : class Control
    [javac] location: class net.azib.ipscan.gui.AbstractModalDialog
    [javac]     protected void positionButtonsInFormLayout(Button okButton, Butt
on cancelButton, Control control) {
    [javac]
                 ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\AbstractModalDialog.java:162: cannot find symbol
    [javac] symbol  : class Button
    [javac] location: class net.azib.ipscan.gui.AbstractModalDialog
    [javac]     protected Button createCloseButton() {
    [javac]               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\ConfigDetectorDialog.java:15: package org.eclipse.swt does not exist
    [javac] import org.eclipse.swt.SWT;
    [javac]                       ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\ConfigDetectorDialog.java:16: package org.eclipse.swt.layout does not exi
st
    [javac] import org.eclipse.swt.layout.FormAttachment;
    [javac]                              ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\ConfigDetectorDialog.java:17: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Button;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\ConfigDetectorDialog.java:18: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Display;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\ConfigDetectorDialog.java:19: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Event;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\ConfigDetectorDialog.java:20: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Label;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\ConfigDetectorDialog.java:21: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Listener;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\ConfigDetectorDialog.java:22: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.MessageBox;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\ConfigDetectorDialog.java:23: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.ProgressBar;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\ConfigDetectorDialog.java:24: package org.eclipse.swt.widgets does not ex
ist
    [javac] import org.eclipse.swt.widgets.Text;
    [javac]                               ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:49: cannot find symbol
    [javac] symbol  : class Button
    [javac] location: class net.azib.ipscan.gui.PreferencesDialog
    [javac]     private Button okButton;
    [javac]             ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:50: cannot find symbol
    [javac] symbol  : class Button
    [javac] location: class net.azib.ipscan.gui.PreferencesDialog
    [javac]     private Button cancelButton;
    [javac]             ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:52: cannot find symbol
    [javac] symbol  : class TabFolder
    [javac] location: class net.azib.ipscan.gui.PreferencesDialog
    [javac]     private TabFolder tabFolder;
    [javac]             ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:53: cannot find symbol
    [javac] symbol  : class Composite
    [javac] location: class net.azib.ipscan.gui.PreferencesDialog
    [javac]     private Composite scanningTab;
    [javac]             ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:54: cannot find symbol
    [javac] symbol  : class TabItem
    [javac] location: class net.azib.ipscan.gui.PreferencesDialog
    [javac]     private TabItem scanningTabItem;
    [javac]             ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:55: cannot find symbol
    [javac] symbol  : class Composite
    [javac] location: class net.azib.ipscan.gui.PreferencesDialog
    [javac]     private Composite displayTab;
    [javac]             ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:56: cannot find symbol
    [javac] symbol  : class Text
    [javac] location: class net.azib.ipscan.gui.PreferencesDialog
    [javac]     private Text threadDelayText;
    [javac]             ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:57: cannot find symbol
    [javac] symbol  : class Text
    [javac] location: class net.azib.ipscan.gui.PreferencesDialog
    [javac]     private Text maxThreadsText;
    [javac]             ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:58: cannot find symbol
    [javac] symbol  : class Button
    [javac] location: class net.azib.ipscan.gui.PreferencesDialog
    [javac]     private Button deadHostsCheckbox;
    [javac]             ^
    [javac] C:\Documents and Settings\beeshma\workspace\ipscan\src\net\azib\ipsc
an\gui\PreferencesDialog.java:59: cannot find symbol
    [javac] symbol  : class Text
    [javac] location: class net.azib.ipscan.gui.PreferencesDialog
    [javac]     private Text pingingTimeoutText;
    [javac]             ^
    [javac] 100 errors

BUILD FAILED
C:\Documents and Settings\beeshma\workspace\ipscan\build.xml:436: Compile failed
; see the compiler error output for details.

Total time: 9 seconds
C:\Documents and Settings\beeshma\workspace\ipscan>


More information about the freebsd-java mailing list