Loads of Plugins: Ada, Android, Ant, Bundeled Subversion Client for Windows, C/C++, Database, EJB and EAR, GUI Builder, Hibernate, Hudson, IDE Branding, Identity Management, IDE Platform, Java, Java -Debugger, -Persistence, -Profiler, -Web Applications, JSF, Local History, Maven, Mercurial, Mobility, Netbeans Plugin Development, RCP Platform, RESTful Web Services, soupUI WebService Testing, SOAP Web Services, SOftware as a Service, Spellchecker, - English DIctionaries, Spring Beans, Spring Web MVC, Struts, Subversion, Team.Ĭhecked rt.jar: It is on the bootclasspath,īuild.properties has platforms.JDK_1.6.bootclasspath=.$\\jre\\lib\\rt.jar. This is from nf: netbeans_jdkhome="C:\Program Files\Java\jdk1.6.0_27"Īnd it is the only JDK I have so this should be perfectly correct. P.S.: Edith just reminded me to tell you that I did not try to reinstall Netbeans since I read in one of the articles I found through Google that it will not help. In all files of that project I have that error and of course a lot of "cannot find symbol", which prevents also autocomplete and everything.ĭoes anyone know why this happens and how I can make it stop? It is really more than annoying and I cannot just switch to Eclipse (not my decision).Īny attempt to help will be highly appreciated! I tried to revert from SVN to an older version of the project files before this happened: no chance. This works at first glance but once I close the IDE and open it again the same failure will show up. I tried to delete the project and make a new one with existing sources. I diff'ed the project files against correct working project files and could not see any major differences except from those that are expected to be there. Other projects do not show that behaviour in the very same IDE and are using the same JDK. I double and tripple checked the JDK installation: it is ok. I tried to Google this, but there are always solutions about that the JDK was not installed right or links to it were corrupt in the project files. Other types of Projects (the errornous is a J2SE Project) work fine. Other projects in the same IDE work just fine. The Project compiles just fine, it is just the Editor messing up. Download NetBeans 6.8 M1 with embedded GlassFish V3 application server.In Netbeans (6.9.1 on a 64bit Windows 7) with JDK 6 correctly installed, the Editor shows this Error at package my.package.name:įatal Error: Unable to find package java.lang in classpath or bootclasspath.Normally you reference server modules and do not include them as application libraries in your EAR. If you find that your EAR has increased from 10s of Kb to around 12Mb - verify that the default checkbox of package is not enabled on your EclipseLink or Hibernate libraries on your EAR, EJB-jar and WAR.jarĬ :\opt\nbglassfish301\glassfish\modules\org. Update the single jar and the JPA 2.0 specification jar in Netbeans hereĬ :\opt\nbglassfish301\glassfish\modules\org.The first thing we should do is upgrade the 6 bundles to the latest versions (and make sure to clear the felix OSGI cache - as in erase it from the filesystem)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |