Netbeans API package not found

Hello,
I�m using NetBeans to develop a J2ME midlet. I want to use the MMAPI. When I try to import the corresponding package using "import javax.microedition.media.*;" Netbeans tells me that this package does not exist.
But when I compile the project it works fine. It seems so that only the IDE does not know the package.
Could somebody help?
with kind regards,
Robert

With a proper hint from another forum, I solved the problem. I deleted the <user-dir>/var/cache and now it works.

Similar Messages

  • Jar not running is sarge and apache-ant  shows error of package not found

    Hello,
    First of all I am not a java programmer. I work in C/C++/C#.
    Currently I am dealing a game written in java (1.5) using netbeans 5.5.0 under windows xp. My target is to compile in my development machine and run in the clients machine. everything works fine in windows xp. I open the netbeans ide, load the necessary class libraries, build the project and run it. it runs without any problem.
    The problem begins when I run the same project from linux (fedora). it doest not run. It shows some error.
    <error platform="fedora 7">
    Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
    at java.awt.Window.<init>(Window.java:406)
    at java.awt.Frame.<init>(Frame.java:402)
    at java.awt.Frame.<init>(Frame.java:367)
    at javax.swing.JFrame.<init>(JFrame.java:163)
    at netbeansapplication.nbApplication.<init>(nbApplication.java:52)
    at netbeansapplication.nbApplication$14.run(nbApplication.java:453)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    </error>
    Some of these error were resolved when I set the DISPLAY variable (export DISPLAY="127.0.0.1:0") but the other errors were still there.
    But when I open this same project in netbeans and resolve the dependencies with class libraries it works ok after compiling.
    I can run it from console (java -jar ...)
    And again the same source tree shows the following error when I am in windows !!! (by java -jar ... command)
    <error platform="WinXPSP2">
    Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:468)
    at java.lang.Integer.parseInt(Integer.java:497)
    at cherrygame.global.readConfigForStickProtection(global.java:2060)
    at cherrygame.nbCherryGame.<init>(nbCherryGame.java:243)
    at netbeansapplication.nbApplication.<init>(nbApplication.java:46)
    at netbeansapplication.nbApplication$14.run(nbApplication.java:453)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    </error>
    I see that netbeans uses ant to compile project in the background.
    then I tried using ant to compile.
    doing only `#ant compile` where build.xml resides does the compilation.
    after that I try to run it (by java -jar ...). again the above error shows up.
    What would I do?
    If I compile it with netbeans in machine A then it runs well in A but not in machine B.
    If I compile it with ANT in machine A then it doesn't run in A, no chance for machine B.
    the contents of my build xml is here
    <code file="build.xml">
    <![CDATA[
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- You may freely edit this file. See commented blocks below for -->
    <!-- some examples of how to customize the build. -->
    <!-- (If you delete it and reopen the project it will be recreated.) -->
    <project name="NetBeansApplication" default="default" basedir=".">
    <description>Builds, tests, and runs the project NetBeansApplication.</description>
    <import file="nbproject/build-impl.xml"/>
    <!--
    There exist several targets which are by default empty and which can be
    used for execution of your tasks. These targets are usually executed
    before and after some main targets. They are:
    -pre-init: called before initialization of project properties
    -post-init: called after initialization of project properties
    -pre-compile: called before javac compilation
    -post-compile: called after javac compilation
    -pre-compile-single: called before javac compilation of single file
    -post-compile-single: called after javac compilation of single file
    -pre-compile-test: called before javac compilation of JUnit tests
    -post-compile-test: called after javac compilation of JUnit tests
    -pre-compile-test-single: called before javac compilation of single JUnit test
    -post-compile-test-single: called after javac compilation of single JUunit test
    -pre-jar: called before JAR building
    -post-jar: called after JAR building
    -post-clean: called after cleaning build products
    (Targets beginning with '-' are not intended to be called on their own.)
    Example of inserting an obfuscator after compilation could look like this:
    <target name="-post-compile">
    <obfuscate>
    <fileset dir="${build.classes.dir}"/>
    </obfuscate>
    </target>
    For list of available properties check the imported
    nbproject/build-impl.xml file.
    Another way to customize the build is by overriding existing main targets.
    The targets of interest are:
    -init-macrodef-javac: defines macro for javac compilation
    -init-macrodef-junit: defines macro for junit execution
    -init-macrodef-debug: defines macro for class debugging
    -init-macrodef-java: defines macro for class execution
    -do-jar-with-manifest: JAR building (if you are using a manifest)
    -do-jar-without-manifest: JAR building (if you are not using a manifest)
    run: execution of project
    -javadoc-build: Javadoc generation
    test-report: JUnit report generation
    An example of overriding the target for project execution could look like this:
    <target name="run" depends="NetBeansApplication-impl.jar">
    <exec dir="bin" executable="launcher.exe">
    <arg file="${dist.jar}"/>
    </exec>
    </target>
    Notice that the overridden target depends on the jar target and not only on
    the compile target as the regular run target does. Again, for a list of available
    properties which you can use, check the target you are overriding in the
    nbproject/build-impl.xml file.
    -->
    <target name="-post-jar">
    <jar update="true" destfile="${dist.jar}">
    <zipfileset src="${libs.swing-layout.classpath}"/>
    <zipfileset src="${libs.addMoney.classpath}"/>
    <zipfileset src="${libs.NormalWindow.classpath}"/>
    </jar>
    </target>
    </project>
    ]]>
    </code>
    my directory contents is here. note. I have 2 packages "cgwindow2" and "NormalWindow" for class libraries and my main application is "CherryGame". The game is "game.jar" in the CherryGame folder.
    <listing foldername="CherryGame">
    D:\src\java\CherryGame\build.xml
    D:\src\java\CherryGame\BW.txt
    D:\src\java\CherryGame\config.txt
    D:\src\java\CherryGame\config.txt.lin
    D:\src\java\CherryGame\flopsfile.txt
    D:\src\java\CherryGame\game.jar
    D:\src\java\CherryGame\LWMoneyfile.txt
    D:\src\java\CherryGame\mfile.txt
    D:\src\java\CherryGame\mfile2.txt
    D:\src\java\CherryGame\mfile3.txt
    D:\src\java\CherryGame\TotalRollsTillBigWin.txt
    D:\src\java\CherryGame\UserFile.txt
    D:\src\java\CherryGame\build\classes\cherrygame\addMoneyFrame.class
    D:\src\java\CherryGame\build\classes\cherrygame\addMoneyPanel.class
    D:\src\java\CherryGame\build\classes\cherrygame\cardsPanel.class
    D:\src\java\CherryGame\build\classes\cherrygame\cardsWindow$1.class
    D:\src\java\CherryGame\build\classes\cherrygame\cardsWindow.class
    D:\src\java\CherryGame\build\classes\cherrygame\cherryGameBackPanel.class
    D:\src\java\CherryGame\build\classes\cherrygame\cherryWindow.class
    D:\src\java\CherryGame\build\classes\cherrygame\customBorderCherryGame.class
    D:\src\java\CherryGame\build\classes\cherrygame\FixedGlassPane.class
    D:\src\java\CherryGame\build\classes\cherrygame\global.class
    D:\src\java\CherryGame\build\classes\cherrygame\helpPanelOne.class
    D:\src\java\CherryGame\build\classes\cherrygame\imagesPanel.class
    D:\src\java\CherryGame\build\classes\cherrygame\messageWindow.class
    D:\src\java\CherryGame\build\classes\cherrygame\messageWindow2.class
    D:\src\java\CherryGame\build\classes\cherrygame\messageWindow3.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$1.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$10.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$11.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$12.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$13.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$14.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$15.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$16.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$17.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$18.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$19.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$2.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$20.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$21.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$22.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$23.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$24.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$25.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$26.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$27.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$28$1.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$28$2.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$28.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$29.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$3.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$30.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$31.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$32.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$33.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$34.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$35.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$36.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$37.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$38.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$39.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$4.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$40.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$41.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$42.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$43.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$44.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$45.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$46.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$5.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$6.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$7.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$8.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$9.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$MyTask.class
    D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame.class
    D:\src\java\CherryGame\build\classes\cherrygame\panelMessage.class
    D:\src\java\CherryGame\build\classes\cherrygame\panelMessage2.class
    D:\src\java\CherryGame\build\classes\cherrygame\panelMessage3.class
    D:\src\java\CherryGame\build\classes\lpt\LPT.class
    D:\src\java\CherryGame\build\classes\lpt\events\Events.class
    D:\src\java\CherryGame\build\classes\lpt\events\LPTEvent.class
    D:\src\java\CherryGame\build\classes\lpt\events\LPTEventListener.class
    D:\src\java\CherryGame\build\classes\lpt\ieee1284\PPParallelPort.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\customBorder.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$1.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$10.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$11.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$12.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$13.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$14.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$2.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$3.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$4.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$5.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$6.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$7.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$8.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$9.class
    D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication.class
    D:\src\java\CherryGame\dist\NetBeansApplication.jar
    D:\src\java\CherryGame\dist\javadoc\package-list
    D:\src\java\CherryGame\dist\javadoc\stylesheet.css
    D:\src\java\CherryGame\dist\javadoc\resources\inherit.gif
    D:\src\java\CherryGame\nbproject\build-impl.xml
    D:\src\java\CherryGame\nbproject\genfiles.properties
    D:\src\java\CherryGame\nbproject\project.properties
    D:\src\java\CherryGame\nbproject\project.xml
    D:\src\java\CherryGame\nbproject\private\private.properties
    D:\src\java\CherryGame\nbproject\private\private.xml
    D:\src\java\CherryGame\src\customBorder.java
    D:\src\java\CherryGame\src\nbApplication.form
    D:\src\java\CherryGame\src\nbApplication.java
    D:\src\java\CherryGame\src\cherrygame\addMoneyFrame.form
    D:\src\java\CherryGame\src\cherrygame\addMoneyFrame.java
    D:\src\java\CherryGame\src\cherrygame\addMoneyPanel.form
    D:\src\java\CherryGame\src\cherrygame\addMoneyPanel.java
    D:\src\java\CherryGame\src\cherrygame\cardsPanel.java
    D:\src\java\CherryGame\src\cherrygame\cardsWindow.form
    D:\src\java\CherryGame\src\cherrygame\cardsWindow.java
    D:\src\java\CherryGame\src\cherrygame\cherryGameBackPanel.form
    D:\src\java\CherryGame\src\cherrygame\cherryGameBackPanel.java
    D:\src\java\CherryGame\src\cherrygame\cherryWindow.java
    D:\src\java\CherryGame\src\cherrygame\customBorderCherryGame.java
    D:\src\java\CherryGame\src\cherrygame\global.java
    D:\src\java\CherryGame\src\cherrygame\helpPanelOne.form
    D:\src\java\CherryGame\src\cherrygame\helpPanelOne.java
    D:\src\java\CherryGame\src\cherrygame\imagesPanel.java
    D:\src\java\CherryGame\src\cherrygame\messageWindow.form
    D:\src\java\CherryGame\src\cherrygame\messageWindow.java
    D:\src\java\CherryGame\src\cherrygame\messageWindow2.form
    D:\src\java\CherryGame\src\cherrygame\messageWindow2.java
    D:\src\java\CherryGame\src\cherrygame\messageWindow3.form
    D:\src\java\CherryGame\src\cherrygame\messageWindow3.java
    D:\src\java\CherryGame\src\cherrygame\nbCherryGame.form
    D:\src\java\CherryGame\src\cherrygame\nbCherryGame.java
    D:\src\java\CherryGame\src\cherrygame\panelMessage.form
    D:\src\java\CherryGame\src\cherrygame\panelMessage.java
    D:\src\java\CherryGame\src\cherrygame\panelMessage2.form
    D:\src\java\CherryGame\src\cherrygame\panelMessage2.java
    D:\src\java\CherryGame\src\cherrygame\panelMessage3.form
    D:\src\java\CherryGame\src\cherrygame\panelMessage3.java
    D:\src\java\CherryGame\src\lpt\LPT.java
    D:\src\java\CherryGame\src\lpt\events\Events.java
    D:\src\java\CherryGame\src\lpt\events\LPTEvent.java
    D:\src\java\CherryGame\src\lpt\events\LPTEventListener.java
    D:\src\java\CherryGame\src\lpt\ieee1284\PPParallelPort.java
    </listing>
    <listing foldername="NormalWindow">
    D:\src\java\NormalWindow\build.xml
    D:\src\java\NormalWindow\manifest.mf
    D:\src\java\NormalWindow\build\classes\normalwindow\global.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$1.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$10.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$11.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$12.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$13.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$14.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$15.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$16.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$17.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$2.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$3.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$4.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$5.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$6.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$7.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$8.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$9.class
    D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$1.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$2.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$3.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$4.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$5.class
    D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog.class
    D:\src\java\NormalWindow\dist\NormalWindow.jar
    D:\src\java\NormalWindow\dist\README.TXT
    D:\src\java\NormalWindow\dist\_normalwindow.jar
    D:\src\java\NormalWindow\dist\lib\swing-layout-1.0.jar
    D:\src\java\NormalWindow\nbproject\build-impl.xml
    D:\src\java\NormalWindow\nbproject\genfiles.properties
    D:\src\java\NormalWindow\nbproject\project.properties
    D:\src\java\NormalWindow\nbproject\project.xml
    D:\src\java\NormalWindow\nbproject\private\private.properties
    D:\src\java\NormalWindow\nbproject\private\private.xml
    D:\src\java\NormalWindow\src\normalwindow\global.java
    D:\src\java\NormalWindow\src\normalwindow\NormalWindow.form
    D:\src\java\NormalWindow\src\normalwindow\NormalWindow.java
    D:\src\java\NormalWindow\src\normalwindow\PasswordDialog.form
    D:\src\java\NormalWindow\src\normalwindow\PasswordDialog.java
    </listing>
    <listing foldername="cgwindow2">
    D:\src\java\cgwindow2\build.xml
    D:\src\java\cgwindow2\manifest.mf
    D:\src\java\cgwindow2\mfile.txt
    D:\src\java\cgwindow2\UserFile.txt
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyPanel.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$1.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$10.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$11.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$12.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$13.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$14.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$2.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$3.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$4.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$5.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$6.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$7.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$8.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$9.class
    D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow.class
    D:\src\java\cgwindow2\build\classes\addmoney\customBorderForAddMoneyWindow.class
    D:\src\java\cgwindow2\build\classes\addmoney\global.class
    D:\src\java\cgwindow2\dist\cgwindow2.jar
    D:\src\java\cgwindow2\dist\README.TXT
    D:\src\java\cgwindow2\dist\lib\swing-layout-1.0.jar
    D:\src\java\cgwindow2\nbproject\build-impl.xml
    D:\src\java\cgwindow2\nbproject\genfiles.properties
    D:\src\java\cgwindow2\nbproject\jax-ws.xml
    D:\src\java\cgwindow2\nbproject\project.properties
    D:\src\java\cgwindow2\nbproject\project.xml
    D:\src\java\cgwindow2\nbproject\private\private.properties
    D:\src\java\cgwindow2\nbproject\private\private.xml
    D:\src\java\cgwindow2\src\addmoney\addMoneyPanel.form
    D:\src\java\cgwindow2\src\addmoney\addMoneyPanel.java
    D:\src\java\cgwindow2\src\addmoney\addMoneyWindow.form
    D:\src\java\cgwindow2\src\addmoney\addMoneyWindow.java
    D:\src\java\cgwindow2\src\addmoney\customBorderForAddMoneyWindow.java
    D:\src\java\cgwindow2\src\addmoney\global.java
    </listing>
    About my thread subject, my clients machine is a debian sarge 3.0 and when I compiled it there with ANT It says, "normalwindow" package not found. other 2 errors were due to "normalwindow".
    Edited by: mokaddim on Sep 12, 2007 2:08 PM

    Julio.Faerman wrote:
    Hello,
    I am trying to run my annotation processor using ant.
    I already built the processor, the javax.annotation.processor.Processor file is in the correct place with the correct content.
    The jar with the processor is in the classpath (i can see it in ant -v), but it does not process my classes. in fact, i get the warning:
    warning: Annotation processing without compilation requested but no processors were found.Do i have to specify -processor or -processorpath or can i just leave it to the default classpath scanning?When -processor is not given, a service loader is used to find the annotation processors (if any). In addition to the class files of the process, to allow your processor to be found as a service, make sure you've also provided the needed META-INF data in the jar file. The general service file format is described in
    http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html
    That said, I'd recommend setting an explicit processor path separate from your general classpath.

  • Import javax.servlet.* package not found

    hai i am pradeep i am using java 1.5 and tomcat 5.5 version when i just include import javax.servlet.* in simple hellow word program and compile it shows error
    import javax.servlet.* package not found
    i set my class path to as
    E:\set path="D:\Program Files\Java\jdk1.5.0_04\bin" and compile this it pops a message please help me i am using winxp os
    by
    pradeep sreedharan

    you are not setting the classpath but the path, and they should both be written in capitals, PATH and CLASSPATH.
    The classpath contains directories and jar files that contain the classes that need to be "visible" to your applications. The servlet classes are part of the file servlet-api.jar, which you can find in your tomcat directory, more specifically the common/lib sub directory.
    I would expect your classpath to look something like this:
    .;d:\program files\tomcat\common\lib\servlet-api.jar
    You may also want to add the directory in which you are storing your projects, I don't know how you are building your applications.
    You seem to be very new to this, so I would suggest you give this a read:
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html

  • Package not found in import

    Hello, I�m trying to run a webapplication but I get an Error 500-message in the browser(IE 5): Package not found in import. It is an webapplication with JSPs and an controlling servlet. Does anyone know how to fix that problem?
    Using: Windows 2000, Tomcat 3.2.1 as NT-service, JavaTM 2 SDK, Enterprise Edition, JavaTM 2 SDK, Standard Edition
    Tomcat/webapps/projektverwaltung.war
    Error: 500
    Location: /projektverwaltung/projektverwaltung/JSP/Menue.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\Tomcat\work\localhost_8080%2Fprojektverwaltung\_0002fprojektverwaltung_0002fJSP_0002fMenue_0002ejspMenue_jsp_0.java:15: Package de.zebulon.projektverwaltung.projekttool not found in import.
    import de.zebulon.projektverwaltung.projekttool.*;
    ^
    1 error
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
         at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
         at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
         at org.apache.tomcat.core.Handler.service(Handler.java:286)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
         at java.lang.Thread.run(Thread.java:484)
    CLASSPATH: .;C:\;C:\jesdkee1.3\lib\j2ee.jar;C:\jdk1.3.0_01\lib\tools.jar;C:\Tomcat\lib\servlet.jar;C:\de\zebulon\projektverwaltung\projekttool;
    J2EE_CLASSPATH:
    C:\mysql\JDBC_MySQL_mm\mm.mysql-2.0.4-bin.jar;C:\mysql\JDBC_MySQL_Resin\caucho-jdbc-mysql-0.2.2.jar;C:\mysql\JDBC_MySQL_twz\twz1\jdbc\mysql\htdocs\twz1jdbcForMysql.jar;
    J2EE_HOME:
    C:\j2sdkee1.3;
    JAVA_HOME:
    C:\jdk1.3.0_01;
    TOMCAT_HOME:
    C:\tomcat;
    Path:
    C:\PROGRA~1\Borland\Delphi5\Projects\Bpl;C:\PROGRA~1\Borland\Delphi5\Bin;C:\PROGRA~1\BORLAND\CBUILD~1\BIN;C:\PERL\BIN;"%PATH%";%SYSTEMROOT%;%SYSTEMROOT%\system32;%SYSTEMROOT%\system32\WBEM;C:\jdk1.3.0_01\bin;C:\j2sdkee1.3\bin;C:\j2sdkee1.3\lib\j2ee.jar;C:\mysql\bin;
    Server.xml entry:
    <Context path="/projektverwaltung"
    docBase="webapps/projektverwaltung"
    defaultSessionTimeOut="30"
    debug="9">
    </Context>
    Web.xml:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <display-name>Projektverwaltung Zebulon</display-name>
    <description>Interne Projektverwaltung Fa. Zebulon</description>
    <welcome-file-list>
    <welcome-file>menue.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
    <servlet-name>ProjektServlet</servlet-name>
    <display-name>ProjektServlet</display-name>
    <description>Servlet das die Applikation kontrolliert</description>
    <servlet-class>de.zebulon.projektverwaltung.projekttool.ProjektServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <url-pattern>/Projekttool</url-pattern>
    <servlet-name>ProjektServlet</servlet-name>
    </servlet-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    </web-app>

    Hello, I try copy C:\de\zebulon\projektverwaltung\projekttool\*.class in
    location that contain file _002fprojektverwaltung_0002fJSP_0002fMenue_0002ejspMenue_sp_0.java.

  • Aurbuild saying "package not found under /var/tmp/aurbuild/pkgbuilds"

    Hello everyone
    I am using aurbuild for installing aur packages. Since some time now, I keep getting the error message:
    package not found under /var/tmp/aurbuild/pkgbuilds
    For example the exact message is:
    lib32-pciutils not found under /var/tmp/aurbuild/pkgbuilds
    No result found
    What can I do about that?
    Thanks in advance
    b1

    Please see our Forum Etiquette regarding bumping b1: https://wiki.archlinux.org/index.php/Fo … te#Bumping
    Have you tried if the same thing happens with other packages and AUR-builders?

  • Problems with Sun One Web Server 6.1 javax.xml.xpath package not found

    I used myeclipse to build an xml app and tested on jboss. it worked perfectly. However when i deployed it to our solaris sun one web server the app fell apart completely with the following error. I m unable to figure out what went wrong. Any help will be much appreciated.
    Thanks.
    [11/Dec/2007:22:12:37] failure (13539):      for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
         /opt/SUNWwbsvr/test/ClassCache/test/_jsps/_feeds/_rss_jsp.java:8: package javax.xml.xpath does not exist
         import javax.xml.xpath.*;
         ^

    Thanks for the response. I tried to use xalan package which resolved the javax.xml.xpath package not found error (xalan.jar in WEB-INF/lib folder). However I m now getting the following error. Probably incompatible version is the reason. Please advise!
    [11/Dec/2007:23:46:28] failure (17028):      for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         javax.servlet.ServletException: org.apache.xpath.XPathContext.<init>(Z)V
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
         at _jsps._feeds._rss_jsp._jspService(_rss_new_jsp.java:627)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
         ----- Root Cause -----
         java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
         at org.apache.xpath.jaxp.XPathImpl.eval(XPathImpl.java:207)
         at org.apache.xpath.jaxp.XPathImpl.evaluate(XPathImpl.java:281)
         at _jsps._feeds._rss_new_jsp._jspService(_rss_jsp.java:165)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)

  • Package not found javax.sql.*

    Hi I'm trying to import the following and compile.
    It prompts me package not found for javax.sql.* ?
    Any idea what is going wrong ?
    Thanks.
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.naming.*;

    I got it right. Just download the jdbc optional package and put it in the classpath.

  • WTE-03501 WTCSYNC package not found

    WTCSYNC package not found
    I Am trying to configure icache after it failed during installation. The configuration assistant fails while "Adding User List" process. The process fails at export from the origin database. I have configured extproc and tnsnames.ora all correctly.
    I tried to do "manual procedure to Add the user List" as per Note:122459.1. I have exported and imported to icache "
    imp "'/ as sysdba'" fromuser=system icache=users ignore=y
    file=$ORACLE_HOME/dbs/icache_exp.dmp"
    But in next step "execute wtcsync.configuser();" failes as there are not wtcsync package or schema or any objects with that name in "iCache" database when i checked as "internal".
    What should i do to create this package or do i miss something ?
    Any help would be appreciated.
    Regards,
    null

    Hi,
    I got the same problem, but what is Note:122459.1 ? Thanks.

  • Build & Capture TS (MDT) - Capture fails at PrepareOS (sysprep) with "Boot Image package not found"

    Hi all,
    I'm searching for a while on this one now... I'm unable to perform a "ZeroTouch" Build & Capture of my reference machine to get a master image, with Capture Media it seems to be working, but this is a manual step...
    While running a W7SP1 Build & Capture task sequence, the "Capture the reference machine" group fails at "PrepareOS". The step before "PrepareOS",  "Prepare ConfigMgr Client" runs without any issues.
    The only error I can find, shows up in the report "OSD - history of a TS":
    ... 0005 that is either already released or we have not connected to it.
    BootImage::ResolveImageSource( pszPackageId, sImagePackageSourcePath, sImageSourcePath), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\bootimage.cpp,732)
    TS::Boot::BootImage::StageBootImage(sPkgID), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\prepareos\prepareos.cpp,917)
    PreStageWINPE(m_bDebug), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\prepareos\prepareos.cpp,1363)
    pCmd->Sysprep(bActivate, bMsd), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\prepareos\main.cpp,270)
    De-Initialization successful
    Exiting with error code 2
    sending with winhttp failed; 80072ee2
    SendResourceRequest() failed. 80072ee2
    Download() failed. 80072ee2.
    Boot Image package not found.
    he system cannot find the file specified. (Error: 80070002; Source: Windows)
    Failed to pre-stage WINPE image, hr=0x80070002
    Unable to sysprep the machine, hr=80070002
    Sysprep'ing the machine failed, hr=80070002
    I've searched the smsts.log file hundreds of times for errors, nothing there... 
    Can anyone give me a clue or just something...? I really don't know what my next step, to make this work, could be...
    Thanks!

    The error Torsten pointed out gave me some clue... After much digging around on the web, I've stumbled upon this
    article which led me into adding the following TS-variables:
    SMSTSDownloadRetryCount: 5
    SMSTSDownloadRetryDelay: 15
    It seems to be working now on all types of hardware...
    Case closed, thank you for the assistance! 
    Let's hope this article can save someone a couple of days... :)
    Wesley

  • Jboss Package not found

    I run Jboss 3.0.6 with Jetty.
    I have deployed the IText.jar for pdf creation.
    in the JBOSS_HOME/server/default/lib folder.
    If I try to import from a web page
    the package :
    <%@page import="com.lowagie.text.*" %>
    I get the following error:
    Package com.lowagie.text.* not found
    The same error happens if I put the jar in
    WEB-INF/lib folder
    What could it be the cause of my package
    not found problem?
    Thanks.
    C.

    It seems that I had some problems
    with my JAR file, because a new download
    o theitext.jar works...

  • Servlet package not found

    I am trying to compile a servlet and i keep getting the error 'servlet package not found' I went and downloaded the servlet package but am unsure how to implement. I assume the i would need to ammend the classpath or path, but not sure. If someone could give some simple instructions, I'd be grateful.

    hi,
    as mentioned you will have to add the servlet package to the classpath environment variable.
    lez say the java servlet class files are present in the servlet.jar file.. herez how u would add it to the classpath ..
    set CLASSPATH=%CLASSPATH%;<path-to-jar>\servlet.jar;.
    Therez a dot at the end of the classpath (this puts the current directory in the CLASSPATH)
    you would have to replace the <path-to-jar> with the actual location for eg
    set CLASSPATH=%CLASSPATH%;c:\java\servlets\lib\servlet.jar;.
    hope this helpz
    cheerz
    ynkrish

  • Javax package not found

    Hi,
    I installed jdk1.4 in my system.And i type one swing concept program.After compilation of that program.It shows error like Javax.Swing. package not found.Please help to me to clear the proble.And also Javax.servlet package also not taken.
    regards
    sridhar

    Its javax, not Javax.

  • Error in clipboard: ORDWEBUTL package not found

    Hi,
    I installed WebAgent 8.1.5.4 and Clipboard 8.1.5.3 (from one installation kit). WebAgent works fine. Something wrong with the Clipboard. I managed getting into Clipboard and even able to view tables of a schema. When I double click on any table name, a message prompt out saying
    "The ORDWEBUTL package was not found in the requested database."
    Anybody can give me a hint what is the installation package that can lead to this ORDWEBUTL package installed into 8i? And how to install it?
    My environment:
    Windows NT 4
    Oracle 8.1.5
    Apache web server 1.3.12
    WebAgent 8.1.5.4
    Clipboard 8.1.5.3
    Dawson

    There is a SQL script in
    (ORAWEB_HOME)\ord\web\admin (in my setup it is D:\oracle\oraas\ord\web\admin) called ordwebutl.sql.
    This needs to be run before doing anything within the clipboard. The usage for running this is within the header of the script itself.

  • Package not found when nested

    When I tried to make packages in this way:
    ApplicationProgram (import TalepDurum.gui.Kurumlar.*;)
    TalepDurum(package)
    --gui(package)
    | --Kurumlar(package)
    |
    --TalepType(package)
    and I tried to reach the Kurumlar package from the
    ApplicationProgram, then it gives an error
    saying that no such a package or classpath not found.
    Anyone who understand the problem? Thanks for help...

    This might help.
    http://java.sun.com/docs/books/tutorial/java/interpack/packages.html
    If you have a directory structure of TalepDurum/gui/Kurumlar and the directory that contains TalepDurum is in your Classpath when you compile, then it will work.

  • Package not found when importing in JSP

              I'm now using Weblogic 6.0 SP 2 for development. I did a test application, containing
              EJBs, and a JSP. Package the applications to an EAR file. Then I deploy the test
              application using hot-deploy - just drop the EAR into the domain\application folder.
              When I call the JSP page, I get an error saying that the package I'm importing
              is not found. What is wrong?? The test application works on Weblogic 5.1
              My WAR file contains only the JSP and XML descriptor. Do I need to include classes
              inside??? Don't think that is correct.
              Please advise.
              

              It was a bad mistake. Made an error in the application.xml, which refer to an invalid
              JAR file. Made the correction and it works like magic.
              Thanks :)
              "Cameron Purdy" <[email protected]> wrote:
              >WL 60 is tolerant of class location in that you can put all classes in
              >the
              >EJB JAR inside the EAR and it will work as well (sometimes better if
              >there
              >are xrefs) as carefully splitting classes between JAR and WAR.
              >
              >Chances are your context is not set up correctly. What is the web.xml?
              >What
              >is the URL you used? In WL 51 you provided the context in the "register"
              >line in the weblogic.properties. Now that info is self-contained in the
              >app
              >itself.
              >
              >Peace,
              >
              >--
              >Cameron Purdy
              >Tangosol Inc.
              ><< Tangosol Server: How Weblogic applications are customized >>
              ><< Download now from http://www.tangosol.com/registration.jsp >>
              >
              >
              >"Moong" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> I'm now using Weblogic 6.0 SP 2 for development. I did a test application,
              >containing
              >> EJBs, and a JSP. Package the applications to an EAR file. Then I deploy
              >the test
              >> application using hot-deploy - just drop the EAR into the
              >domain\application folder.
              >>
              >> When I call the JSP page, I get an error saying that the package I'm
              >importing
              >> is not found. What is wrong?? The test application works on Weblogic
              >5.1
              >>
              >> My WAR file contains only the JSP and XML descriptor. Do I need to
              >include
              >classes
              >> inside??? Don't think that is correct.
              >>
              >> Please advise.
              >>
              >
              >
              

Maybe you are looking for

  • In VL02N, getting runtime error "dynpro_msg_in_help" when deleting outbound delivery in production

    Hello SD members, I have an issue in which while executing VL02N and trying to delete the outbound delivery getting runtime error "dynpro_msg_in_help" in production system. Kindly suggest how to solve this... Regards Venkat

  • The stock in transit field is not visible in MD04

    Hi Team Stock in transit visible on MD04 STPO 28801084 is internal stock transfer from FI25 to FI28. Qty of PO is visible in the ´stock in transit´ field on SAO transaction MD04 under plant FI28 when corresponding delivery  1202400481 have been PGId 

  • Drop Down Menu Hidden By Flash in IE

    http://www.extravaganzacreative.com/moonlight/test2.htm My drop down (under "Portfolio") drops behind my Flash movie that it should extend over. It works fine on my Mac in FF and Safari, I am only seeing it when I test it on my PC in IE. I have tried

  • Java and  Internet Explorer ?

    Hello every one. Could someone tell me how to call Internet Explorer from a Java Application, passing a string containing the URL? thank a lot in advance.

  • Export to .wmv?

    I just finished my Sequence in FCE and I want to Export to a .wmv, is this possible? If so, how? Or, is it possible to export to a .mov then convert to a .wmv?