Error Package Does Not Exist Netbeans
Contents |
to package org.netbeans.lib.awtextra download List Archive Chronological | Threaded « Previous Message Next » « Previous package javax.servlet.http does not exist netbeans Thread Next » From: "Graham, Dennis" < > To: < > Subject: RE: package does not exist (SOLVED) Date: Fri, 28 Dec 2007 14:16:09 -0500
Netbeans Javax Does Not Exist
Mailing-list: contact ; run by ezmlm Well,asitturnsout,thereweretwocontributingfactorsthatweren't immediatelyobvioustome. 1.FromtheProjectProperties>JavaSources,Idefinedmultiplesource directories.Well,thiswasobvioustome. 2.FromtheProjectProperties>JavaSourcesClasspath,Ididn'trealizethat the"SeparateClasspathforEachSourcePackageFolder"waschecked(by default?).Assuch,Ihadonlydeclaredjars/foldersforatest package/folder*sigh*. Uncheckingthe"SeparateClasspath"optionsolvedtheproblem. Thanks, Dennis ________________________________ From:Graham,Dennis [mailto: ] Sent:Thu12/27/20079:16AM To: Subject:RE:Re:packagedoesnotexist Hmm...Myprojectisaweb-app Inmycase,NetBeanscan'tfind"javax.servlet.jar".Thismanifestsasthe error"packagejavax.servlet.httpdoesnotexist" I'veaddedthejarfilestotheJavaSourcesClasspath(inproject properties)aswellasexplicitlyaddingittoWebSourcesClasspath. Basically,wheredoIaddajarsothatNetBeanspicksitupandtheclasses areavailableintheIDEsourceeditor? Thanks, Dennis ________________________________ From:VladimirKvashin [mailto: ] Sent:Thu12/27/20079:02AM To: Subject:Re:packagedoesnotexist Dennis, Thisinformationisn'tsufficientformetohelpyou. Whatparticularpackagesbuildcomplainsabout? Andwhatisyouproject? Thanks, Vladimir Graham,Denniswrote: >Apologiesupfrontasthisseemslikesuchafundamentalissue. > >Netbeansisreportingthatitcan'tfindanumberofjarswiththe >ubiquitous"package[foo]doesnotexist". > >Googlefailsme,andsodoestheKBandtheFAQ. > >Anysuggestions? > >Thanks, >Dennis > > > >------------------------------------------------------------------------ > >-----------------------------------
here for a quick overview of the site Help Center Detailed answers to any questions you
How To Import Javax.servlet In Netbeans
might have Meta Discuss the workings and policies of this download javax package for netbeans site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers package system does not exist netbeans or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community https://netbeans.org/projects/cnd/lists/users/archive/2007-12/message/86 of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Package does not exist when importing JAR file up vote 0 down vote favorite I have a JAR file that contains a series of .java files/stub code. I need to include the JAR into a http://stackoverflow.com/questions/9807700/package-does-not-exist-when-importing-jar-file NetBeans project and call the various methods contained within. I've attempted Solaris as well, but no luck there either. At the moment, the entirety of my Main.java (the only src file in the project) is: package TestApplication; import edu.university.department.ws.DiscoveryServices; public class Main { public static void main(String[] args) { System.out.println("Hello World"); } } The exact error is: C:\code\Projects\WebServiceTest\TestApplication\src\testapplication\Main.java:3: package edu.university.department.ws does not exist import edu.university.department.ws.DiscoveryServices; 1 error I added the JAR file by going to libraries, clicking Add JAR/Folder, and selecting the JAR. Once it was added, I can drill down into it in NetBeans and see all the stub code, including edu.university.department.ws.DiscoveryServices.java, but yet it can't seem to import it. I also tried going to Tools -> Libraries then adding the JAR to the classpath there. It didn't change anything. Is it possible the JAR file wasn't created correctly? I can see the code in NetBeans, so I don't think anything is wrong with the JAR, but I
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack http://stackoverflow.com/questions/7384184/javax-package-does-not-exist Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Javax package does not exist up vote 2 down vote favorite there is an error in does not all my javax header file "package javax. does not exist" here is an image. java mobile java-me share|improve this question edited Jan 8 '12 at 6:47 COD3BOY 9,18812647 asked Sep 12 '11 at 6:45 Rajesh 11126 There is a missing jar file obviously. –Petar Minchev Sep 12 '11 at 6:48 It's not javax that is missing but obex and microedition. Fix you libraries path to include them does not exist –Costis Aivalis Sep 12 '11 at 6:50 Thanks petar..pls mention the jar file. which i have to include –Rajesh Sep 12 '11 at 7:25 add a comment| 5 Answers 5 active oldest votes up vote 2 down vote Download one of the jar file from the following link and store it in your local machine : http://www.jarfinder.com/index.php/java/info/javax.obex.Operation Now follow the given steps in the following link to add that jar file into your project. http://gpraveenkumar.wordpress.com/2009/06/17/abc-to-import-a-jar-file-in-netbeans-6-5/ This should resolved your errors. share|improve this answer answered Sep 12 '11 at 7:06 Nirmal 2,7311358103 Yeah nirmal..resolved..Thank u so much –Rajesh Sep 12 '11 at 7:47 You can select the appropriate answer as correct. –Nirmal Sep 12 '11 at 8:19 No need add external jar for Java ME application. Just need to add the Java ME platform. I think he missed that. –bharath Sep 12 '11 at 11:58 add a comment| up vote 1 down vote Netbeans 6.9.1 already has Java ME SDK 3.0. Just check the Emulator Platform in the properties of your application. If there is no emulator platform just download the sun java toolkit or Java ME SDK 3.0 and then integrate with Java platform on your netbeans IDE. share|improve this answer edited Jul 1